----------------------------------
On Mon, May 12, 2003 at 05:26:17PM +0100, Graham Trott wrote:
Question: Why when I give the command "killall java" does nothing happen?
One thing to bear in mind is that a process can be in a state whereby it is not killable. Sometimes a 'ps -l' will show it with a negative priority (don't confuse this with the nice value).
Also in top I think these processes may have a STAT of something unusual like "D" which means Deep Sleep :o)
Usually this is because the process is waiting for some I/O or other, AFAIK you can't do a lot to kill these other than finding out what they are waiting for and restoring that. most likely whatever that is, is the route of your problem.
Wayne ------------------------------------- I doubt if they're waiting for I/O, being mostly Java threads associated with a webserver. It's possible they could be hanging on network access but the APIs I use are protected with timeouts. The rogue threads are all marked as S in the Stat column. It's all rather frustrating now; I have to wait till it happens again to try out my shiny new 'killall -9'.
-- GT