Want to create a process in D stat on Mirror disk

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nshnt
    New Member
    • Aug 2012
    • 1

    Want to create a process in D stat on Mirror disk

    Please suggest me how I can create a process in D (uninterruptabl e sleep) stat on mirror disk. Actually there is some bug in other code, that process some times create a process with D stat on MD and our unmount script fails and whole system goes in halt condition. Any how we have to avoid shutdown/reboot condition. For testing purpose we want to reproduce such scenario "Process with D stat"

    Will fuser command can terminate with SIGCHLD signal. I think it may kill init daemon. Kill with SIGCHLD may also have same effect. This is not the first time that any process has gone in D stat while accessing MD. There are several process which access MD and we have encountered that very few of them stuck in D stat. Actually its a failover cluster and time of failover we make sure that each process accessing MD should be release before failover for that we unmount the MD. We can't afford improper shutdown, which we are encountering.
    Can you suggest any workaround for same.
    Please suggest which will be the best approach to over come from such situation.
Working...