D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] How to *really* kill processes?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan Melhuish wrote:
| For some reason, Samba has decided to spawn literally hundreds of
| processed which are now in "D" state (not sure what that means).
| Although the CPU and swap are almost completely idle, my system load is
| running at around 300 and strange things are happening (like it dropping
| my SSH connection when I tried to log in).
|
| I'll probably have to restart this time, but in future, how can I kill
| processes that just won't die?  I've already tried "killall -9 smbd".
|
| TIA,
|
| Jon

Does killing the processes individually help at all ?? if so somthing like;

for i in `pidof smbd`; do kill -9 $i; done

would do the trick.. a little brutal but if thats what it takes...


Neil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAQmxEz3Av8JKgzxQRAsM5AJoDljW7Lgi0ceECrV49dcTwX+LQ9QCgtecH
Pqw8qXeDbvVLuzU0jg4Oy2M=
=TZiT
-----END PGP SIGNATURE-----

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly