日期:2014-05-16  浏览次数:20526 次

kill不掉程序
Assembly code

[root@localhost BrdUnoTelecomCR_v1]# ps aux | grep BrdUnoH248Ag
root     12492  0.0  0.0  61176   748 pts/6    S+   18:20   0:00 grep BrdUnoH248Ag
root     30461 15.7 19.9 60932048 3278032 ?    Dl   11:14  67:05 ./BrdUnoH248Ag
[root@localhost BrdUnoTelecomCR_v1]# kill -9 30461
[root@localhost BrdUnoTelecomCR_v1]# ps aux | grep BrdUnoH248Ag
root     12699  0.0  0.0  61176   752 pts/6    S+   18:20   0:00 grep BrdUnoH248Ag
root     30461 15.7 19.9 60932048 3275296 ?    Dl   11:14  67:05 ./BrdUnoH248Ag

但是程序在使用CPU时间 RES内存在慢慢释放
top:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                                         
30461 root      16   0 58.1g 2.7g 2020 D  0.0 17.3  67:06.85 BrdUnoH248Ag 

30461 root      16   0 58.1g 2.7g 2020 D  0.0 17.0  67:06.87 BrdUnoH248Ag  
30461 root      16   0 58.1g 2.5g 2016 D  0.0 16.2  67:11.07 BrdUnoH248Ag



kill的时候产生了一个core文件,/var/message里报了一个段错误


------解决方案--------------------
kill 不掉的程序通常都是处于内核态操作中
------解决方案--------------------
D状态的话应该是IO等待中。。。基本没救
------解决方案--------------------
探讨
kill 不掉的程序通常都是处于内核态操作中