How did you try to kill them? Kill -9 should always work because you are telling the kernel to cut them off at the knees. Killall uses sigterm (which is kill -15) and that assumes that whatever you are trying to kill is listening. If that doesn't work, then kill -9 pid will always work. If it doesn't your kernel is broken and you really do have to reboot.coolemail wrote:when monitoring top, the server load is generally httpd commands. At the time of writing, the server load is low and all is OK, and we have:
[Snip...]
and once we had about 60 of them and because it had hung, we could not even kill them.
The difference between kill -9 and kill -15
kill -15 sends a signal to the process that we would like it to stop and then we wait for it go get around to it. This allows it to finish it's writes, etc. and exit cleanly. Eventually. Maybe.
kill -9 sends a signal to the kernel to kill with extreme prejudice the pid you sent it. It pretty much always works, but the possibility of data loss exists because you're not playing nice with the process.