> When using 'ps -aux', the application I use "series 5000" creates a
> bunch of <defunct> processes, which I cannot kill. The only solution
[...]
> I've been told that a <defunct> process doesn't recognize it's
> parent process and cannot be killed.
A defunct process is not a process in the normal sense - it is an
entry in the zombie list, a list of process table entries containing
accounting information and exit status for a exited processes.
So you can't kill them, because they aren't running. But they are
using up process table entries, which is not a good thing because
eventually your system will run out of them and need to be rebooted.
Quote:>Does anyone have any suggestions?
Your application is responsible for collecting the exit status etc for
all if its child processes. It can do this by calling one of the
wait(2) system calls for each child process it creates. Once this has
been done, the corresponding process table entry is removed from the
zombie list and can be reused.
/gordon
--
department of computer systems
uppsala university tel +46-18-183156
box 325, 751 05 uppsala, sweden fax +46-18-550225