You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Nels Lindquist <nl...@maei.ca> on 2005/08/24 20:01:33 UTC

More zombie problems

Hi there.

I'm testing SA 3.10RC1, and I'm running into problems with zombie 
processes.  I'm using SA with MIMEDefang, which calls SpamAssassin 
directly in perl.  When the MD multiplexor tries to shut down idle 
slaves, they become zombies.  If I revert to SA 3.04, the problem 
disappears entirely.  I read the "zombies" thread initiated by Jim 
Knuth on August 18th, and tried applying the patch attached to
 http://bugzilla.spamassassin.org/show_bug.cgi?id=4518
but it didn't make any difference.  Note that I'm using dccifd with a 
socket rather dccproc, so my problem may be completely unrelated.

Any ideas on how I can further troubleshoot this?  I'm pursuing 
parallel lines of inquiry on the MIMEDefang list too.

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.


Re: More zombie problems

Posted by Nels Lindquist <nl...@maei.ca>.
On 25 Aug 2005 at 16:34, Nels Lindquist wrote:

> On 25 Aug 2005 at 15:13, Justin Mason wrote:
> 
> > try tracing the master spamd process using -f, so that it traces *both*
> > the parent and the child processes.
> 
> Since I'm using MIMEDefang which loads the SA libraries directly, I'm 
> not running spamd.  I'll see if tracing the multiplexor process shows 
> anything, though...

Okay, I've done that and I did get a lot more info out of strace.

See attached file.

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.


Re: More zombie problems

Posted by Nels Lindquist <nl...@maei.ca>.
On 25 Aug 2005 at 15:13, Justin Mason wrote:

> try tracing the master spamd process using -f, so that it traces *both*
> the parent and the child processes.

Since I'm using MIMEDefang which loads the SA libraries directly, I'm 
not running spamd.  I'll see if tracing the multiplexor process shows 
anything, though...

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.


Re: More zombie problems

Posted by Nels Lindquist <nl...@maei.ca>.
On 24 Aug 2005 at 11:18, Justin Mason wrote:

> Nels Lindquist writes:
>
> > Any ideas on how I can further troubleshoot this?  I'm pursuing 
> > parallel lines of inquiry on the MIMEDefang list too.
> 
> I'd suggest (a) opening a separate bug in the bugzilla and (b)
> getting output from "strace -fo TRACE -p PID" of a process
> turning into a zombie.

Sadly, I don't see much, since as soon as the process receives a TERM 
signal strace disconnects:

32358 read(0, "", 4096)                 = 0
32358 exit_group(0)                     = ?

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.