The comment above the snippet causing the problem is dated Dec 27th
2002, so probably not.

The waitpid loop was probably added to correct a zombie accumulation
problem, but it had a more powerful effect than intended. It solved the
zombie issue, but also prevented multiple child spawning. 

-- Nathan

On Mon, 2003-01-06 at 16:04, Mark wrote:
> Does this bug exist in 2.43 too? If so, I have to recompile. :(
> 
> - Mark
> 
> 
> ----- Original Message ----- 
> From: "Neulinger, Nathan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, January 06, 2003 5:17 PM
> Subject: RE: [SAtalk] spamd only forking single child
> 
> 
> This change should fix it:
> 
> Index: spamd.raw
> ==========================================
> RCS file: /cvsroot/spamassassin/spamassassin/spamd/spamd.raw,v
> retrieving revision 1.159
> diff -u -r1.159 spamd.raw
> --- spamd.raw   1 Jan 2003 17:06:37 -0000       1.159
> +++ spamd.raw   6 Jan 2003 16:16:41 -0000
> @@ -988,7 +988,7 @@
>    my $kid;
>    do {
>      $kid = waitpid(-1,&WNOHANG);
> -  } until $kid == -1;
> +  } while $kid > 0;
>  }
-- 

------------------------------------------------------------
Nathan Neulinger                       EMail:  [EMAIL PROTECTED]
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to