5 Replies Latest reply on Jan 18, 2013 3:59 AM by Deepak Mohnot

    rscd services having high CPU utilization due to defunct process

      Hey all,

       

      While investigating the performance issues on some unix servers we found that on some servers RSCD is having the defunct process, which sometime leads to High load average and CPU utilization .Number of defunct processes  varies between 1 to 3 for RSCD .

       

      Follwoing is the process description :

       

      bash-3.2$ ps -ef | grep -i defunct

      root  2586  2430   0 - ?           0:00 <defunct>

      root  7221  6731 0        - ?           0:00 <defunct>

      root  7059  6564 0        - ?           0:00 <defunct>

      root 18593 17595   0        - ?           0:00 <defunct>

      wu53266 12089  1294   0 18:56:18 pts/32 0:00 grep -i defunct

      patrol  8179  3004 0        - ?           0:00 <defunct>

      root 12238  5996   0        - ?           0:00 <defunct>

      bash-3.2$ ps -ef | grep -i 2430

      root  2430  2427   0   Nov 11 ?           0:00 bin/rscd

      root  2586  2430 0        - ?           0:00 <defunct>

      wu53266 18766  1294   0 18:56:32 pts/32 0:00 grep -i 2430

      bash-3.2$ ps -ef | grep -i 6731

      root  6731  6728   0   Nov 11 ?           0:00 bin/rscd

      root  7221  6731 0        - ?           0:00 <defunct>

      wu53266 21106  1294   0 18:56:37 pts/32 0:00 grep -i 6731

      bash-3.2$ ps -ef | grep -i 6564

      root  6564  6562   0   Nov 11 ?           0:00 bin/rscd

      root  7059  6564   0 - ?           0:00 <defunct>

      wu53266 23874  1294   0 18:56:44 pts/32 0:00 grep -i 6564

      bash-3.2$ ps -ef | grep -i 17595

      root 18593 17595   0        - ?           0:00 <defunct>

      wu53266 26214  1294   0 18:56:49 pts/32 0:00 grep -i 17595

      root 17595 17561   0 18:34:58 ?           0:00 bin/rscd

       

      bash-3.2$ uname -a

      SunOS usa0300uz1252 5.10 Generic_147440-25 sun4u sparc SUNW,SPARC-Enterprise

      bash-3.2$ ps -ef | grep -i defunct

      root 18593 17595   0        - ?           0:00 <defunct>

      og90117 26875 25707   0 19:00:55 pts/17      0:00 grep -i defunct

      bash-3.2$ ps -ef | grep -i 17595

      root 18593 17595   0        - ?           0:00 <defunct>

      root 17595 17561   0 18:34:58 ?           0:00 bin/rscd

      og90117 29710 25707   0 19:01:00 pts/17      0:00 grep -i 17595

      bash-3.2$

       

      bash-3.2$ ps -ef | grep -i 2430

      root  2430  2427   0   Nov 11 ?           0:00 bin/rscd

      root  2586  2430 0        - ?           0:00 <defunct>

      wu53266 8672  1294   0 17:58:09 pts/32 0:00 grep -i 2430

      bash-3.2$

       

      Is this a default behavior of BL or something needs to be taken care of since any process generating a new process should not go to defunct state; it should have the Parent id while forking the new child process and completed with the proper exit status .

       

      root 2586  2430   0        - ?           0:00 <defunct>

      root 7221  6731   0        - ?           0:00 <defunct>

      root 7059  6564   0        - ?           0:00 <defunct>

      og90117 27485   384   0 12:11:07 pts/7       0:00 grep -i defsunct

      0065786 10606 27053   0        - ?         147:06 <defunct>

       

       

      Thanks in advance !!!

       

      Regards

      Kapil Khanduja