Re: DEFUNCT Processes
From: Johannes (johannes.gross_at_gmx.net)
Date: 08/25/04
- Next message: Mark Wilkinson: "boot hangs after "closing stdin and stdout" message on p630 lpar"
- Previous message: Arthur Corliss: "Re: Why is SUN falling so far behind IBM?"
- In reply to: connect: "DEFUNCT Processes"
- Next in thread: Andreas Schulze: "Re: DEFUNCT Processes"
- Reply: Andreas Schulze: "Re: DEFUNCT Processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 25 Aug 2004 07:47:12 +0200
When a child process dies the parent process gets notified with a signal
(SIGCHLD). The child process stays as DEFUNCT (also called zombie) in the
process list until the parent process deals with signal (by calling wait() or
waitpid()). If you are not interested in your dying childs set the signal
handler for SIGCHLD to IGNORE. BTW, this is UNIX not AIX.
DEFUNCTs which stay in the process list are a programing error. Identify the
parent process with ps -ef and send the programer the man pages for wait() and
waitpid() :-)
Johannes
connect wrote:
> Hi,
> I have a client running AIX 5.1 and have found a couple of defunct processes
> chewing up CPU usage.
> We have tried killing these processes which comes back stating "Then
> specified process does not exist" we have tried rebooting the machine but
> the processes are still there. Can you tell me how to get rid of these or if
> they are part of the unix kernal....
> This is a quick screen shot of ps vg | head -10
> 516 - A 16329:01 0 12 19828 xx 0 19816 24.3 0.0
> wait
> 774 - A 15528:23 0 12 19828 xx 0 19816 23.1 0.0
> wait
> 1032 - A 15743:58 0 12 19828 xx 0 19816 23.5 0.0
> wait
> 1290 - A 16005:45 0 12 19828 xx 0 19816 23.9 0.0
> wait
> # ps -ef | grep 1032
> root 124662 169142 0 09:38:05 pts/106 0:00 grep 1032
> # kill -1 1032
> kill: 1032: 0403-003 The specified process does not exist.
>
>
> Any suggestion would be much appreciated.
>
>
> Cheers
>
> Pedds : )
>
>
- Next message: Mark Wilkinson: "boot hangs after "closing stdin and stdout" message on p630 lpar"
- Previous message: Arthur Corliss: "Re: Why is SUN falling so far behind IBM?"
- In reply to: connect: "DEFUNCT Processes"
- Next in thread: Andreas Schulze: "Re: DEFUNCT Processes"
- Reply: Andreas Schulze: "Re: DEFUNCT Processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|