https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6006





--- Comment #14 from Justin Mason <[EMAIL PROTECTED]>  2008-12-09 12:36:59 PST 
---
(In reply to comment #13)
> I've got a growing suspicion that this is a race condition somewhere or other.
> I've added some output to the error msg, and it looks as if the number of idle
> kids is not being decremented even if they have gone idle and died:
> 
> Dec  9 17:06:45 louiswu6 spamd[17923]: prefork: child states: BBBIII
> Dec  9 17:06:45 louiswu6 spamd[17923]: prefork: child states: BBBIII
> Dec  9 17:06:47 louiswu6 spamd[17923]: prefork: oops! no idle kids in
> need_to_del_server? num_idle=3 states=444444 at
> /usr/lib/perl5/site_perl/5.10.0/Mail/SpamAssassin/SpamdForkScaling.pm line 
> 849.
> 
> I've added the "num_idle=3 states=444444", the meaning should be obvious. 

hi Per --

I've simply run out of bandwidth to help with this right now :(  but you're on
the right track, I think.  there's a possibility that some code run from a
signal handler (search for $SIG{CHLD} usage in spamd) is updating a data
structure which then isn't being read correctly from the "main thread".  we've
had a bug like that before....


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to