On Thu, Nov 21, 2002 at 03:17:37PM +0500, [EMAIL PROTECTED] wrote: > > On Thu, Nov 21, 2002 at 09:44:34AM +0200, Taymour A. El Erian wrote: > >> Hi, > >> > >> My version is 20010501 and yes the problem always happens. > >> At this moment qmail-todo is zombie > >> > > If qmail-todo is in the zombie state it is no longer running. The > > qmail-send is then probably waiting for a other process (are other > > qmail-* processes running?). > > 'ps ax' shows like this after stopping qmail. > > 998 ? S 2:16 qmail-send > 1000 ? S 0:21 /usr/local/bin/multilog t > s10000000 /var/log/qmail/sm > 1005 ? S 0:47 qmail-lspawn ./Maildir/ > 1006 ? S 0:39 qmail-rspawn > 1007 ? S 0:18 qmail-clean > 1008 ? Z 1:15 [qmail-todo <defunct>] > 1009 ? Z 0:17 [qmail-clean <defunct>] > > > and logs show this: > > status: qmail-todo exiting asap > > Other processes like qmail-remote , qmail-queue still runs. >
As long as qmail-rspawn or qmail-lspawn is running qmail-send may not quit because there are still deliveries running. > > but wait, something new(for me)!!! > now it has started to recover automatically!!! > after some 100 seconds, it automatically recovers. > I remember for sure, that it wasn't the case sometimes ago.(might be when i > was using 20020501). > Probably the remote deliveries where finished and so qmail-send finaly quit. What I do not understand is why you get a qmail-todo zombie. qmail-send does not wait and ignores SIGCHLD. In this case zombies should not be generated. What system are you using? Is this another "we are GNU/Linux and we know the stuff better then the rest of the world" thing? -- :wq Claudio
