On Mon, Jul 08, 2002 at 09:46:08AM +0200, Ireneusz Piasecki wrote:
> I have build mysq from source rpm with gcc 2.95-2 on my linux 6.2 box,
> kernel 2.2.19.
> 
> When i do ps -ax on shell, i see below
> 
> 5807 ?        Z      0:00 [mysqld <defunct>]
> 
> this happens somtimes, but table are'nt coruppted. I have checked it.
> 
> It is dangerous for my system, that server MySQL is sometimes defunct
> (zombie). I noticed, he is selfrepaired, sencond time when i make ps -ax,
> all is allright. server is running as usual (no zombie).

Not all that abnormal, and in fact, these are common UNIX semantics.  

If a child process terminates (on Linux these are threads), they are
marked defunct/zombie until the parent process gets around to "reaping"
them. Which is why they're absent from a second process listing.

See fork(2) and wait(2), waitpid(2), etc.

-- 
Michael Bacarella  | Netgraft Corporation
                   | 545 Eighth Ave #401
 Systems Analysis  | New York, NY 10018
Technical Support  | 212 946-1038 | 917 670-6982
 Managed Services  | [EMAIL PROTECTED]


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to