ITPub博客

首页 > Linux操作系统 > Linux操作系统 > hp-unix 僵尸进程导致系统崩溃

hp-unix 僵尸进程导致系统崩溃

原创 Linux操作系统 作者:anycall2010 时间:2010-01-23 09:04:39 0 删除 编辑

故障现象:

     操作系统能够正常运行,能够PING 通服务器的IP地址,但是无法通过CRT或者SSH等客户端软件登陆本机。使用MP进入后,发现系统已经进入假死状态。

 

 

修复办法:

登陆到MP界面后,通过重启系统,操作系统正常。

 

问题原因:

   由于操作系统SCSI驱动安装或者操作系统的BUG导致系统产生大量僵尸进程,无法释放,把系统资源耗尽。

 

解决问题:

 

对系统进行相应补丁安装或者操作系统修复。

 

问题原因分析:

1、 收集crashinfo信息,发现含有大量僵尸进程经过统计有3938个僵尸线程。

 

    Note: There are 3938 threads in TSZOMB stat !


This count does not include TSDETACHED threads, so there may be more TSZOMB
threads in the thread listing

 

 

809576  3115  5807  852185898 178  6   ZOMB  exit           iswd
809273  2848  5807  852219772 178  0   ZOMB  exit           iswd
809059  2651  5807  852253598 178  4   ZOMB  exit           iswd
808778  2397  5807  852287498 178  2   ZOMB  exit           iswd
808539  2199  5807  852321372 178  0   ZOMB  exit           iswd
808227  1907  5807  852355198 178  2   ZOMB  exit           iswd
807959  1670  5807  852389098 178  0   ZOMB  exit           iswd
807727  1462  5807  852422998 178  2   ZOMB  exit           iswd
807306  1132  5807  852456897 178  6   ZOMB  exit           iswd
807060  906   5807  852490771 178  6   ZOMB  exit           iswd

 

2、 试图停止ISWD进程

# /sbin/init.d/iscsi stop

# ps -ef|grep iscsi

    root  5823     1  0  Jan 18  ?         0:00 /opt/iscsi/bin/iscsi_resolvd

    root  5825     1  0  Jan 18  ?         0:00 /opt/iscsi/bin/iswd

    root 24817     1  0  Jan 18  ?         0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_iscsi_adapter

    root 17653 17609  0 11:22:44 pts/0     0:00 grep iscsi

# ps -ef|grep iswd

    root  5825     1  0  Jan 18  ?         0:00 /opt/iscsi/bin/iswd

    root 17691 17609  0 11:23:42 pts/0     0:00 grep iswd

root 17675  5825  0 11:23:25 ?         0:00 /opt/iscsi/bin/iswd

 

3、 使用KILL强制杀掉进程也不行

# kill -9 5825

# ps -ef|grep iscsi

    root  5823     1  0  Jan 18  ?         0:00 /opt/iscsi/bin/iscsi_resolvd

    root  5825     1  0  Jan 18  ?         0:00 /opt/iscsi/bin/iswd

    root 24817     1  0  Jan 18  ?         0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_iscsi_adapter

root 17872 17609  1 11:27:23 pts/0     0:00 grep iscsi

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8334342/viewspace-625820/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: HP-UNIX下死机解决
请登录后发表评论 登录
全部评论

注册时间:2008-06-24

  • 博文量
    182
  • 访问量
    610286