Killing zombie process


I'm currently running into problems with processes unexpectedly turning in Zombie-like state, in latests versions on zbt-wg3526. (It happened with squid and hostapd processes for exemple )

When I do ps, those process are in D state ( "uninterruptible sleep (usually IO)" ) seemingly for ever.

First thing I would like to ask: Is there any way to kill these processes?



kill <PID> is typically the first thing to try. If a few tries of that and some time doesn't work, the "impolite" version of kill -9 <PID> (the first asks for a graceful end to the program).

afaik you can also use killall name and it will terminate all processes called "name"