Can you get output of 

    strace -f -o trace

on the affected processes?  (easy way: just stop spamd, then strace the
spamd startup script.)

--j.

[EMAIL PROTECTED] writes:
> On Wed, 31 May 2006 [EMAIL PROTECTED] wrote:
> 
> > On Wed, 31 May 2006, Theo Van Dinter wrote:
> >
> > > On Wed, May 31, 2006 at 11:12:03AM -0400, [EMAIL PROTECTED] wrote:
> > > > > > May 31 07:53:52 mail spamd[59117]: Use of uninitialized value in
> > > > > > subtraction (-) at
> > > > > /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
> > > > > > line 102, <GEN108> line 46.
> > >
> > > Hrm.  That's not good.  Seems like there's a race condition in there. :(
> > >
> > > 1) If you can open a bz ticket about that, we ought to prod the code and 
> > > try
> > > to eliminate the race.
> >
> > Will do.
> >
> > > 2) If the files are on local disk, switch to using the flock method 
> > > instead.
> > > It's much better, imo.
> >
> > Wow, I didn't even know that was a config option (didn't see it in the
> > docs).  I just switched it and so far, it appears to have done the trick,
> > although the condition was coming and going, so I'll keep an eye on it.
> 
> It appeared to have fixed the race condition from what I could see...cpu
> was down, number of children, smtp connections, etc.  However, about 12
> minutes ago, the spamd parent died for the second time since the upgrade.
> Here is all I could find in the maillog:
> 
> May 31 12:59:44 mail spamd[35583]: spamd: result: Y 12 -
> BAYES_80,FORGED_RCVD_HE
> LO,HTML_40_50,HTML_MESSAGE,RCVD_IN_DSBL,URIBL_JP_SURBL,URIBL_SBL
> scantime=0.9,si
> ze=2585,user=simscan,uid=0,required_score=6.0,rhost=localhost.pil.net,raddr=127.
> 0.0.1,rport=4599,mid=<[EMAIL PROTECTED]>,bayes=0.930576978197
> 612,autolearn=no
> May 31 12:59:49 mail qmail: 1149094789.960550 new msg 289788
> May 31 12:59:49 mail qmail: 1149094789.960823 info msg 289788: bytes 14074
> from <[EMAIL PROTECTED]> qp 35721 uid 1003
> May 31 12:59:49 mail spamc[35739]: connect(AF_INET) to spamd at 127.0.0.1
> failed, retrying (#1 of 3): Connection refused
> May 31 12:59:49 mail spamc[35744]: connect(AF_INET) to spamd at 127.0.0.1
> failed, retrying (#1 of 3): Connection refused
> May 31 12:59:50 mail qmail: 1149094790.217124 starting delivery 70430: ms
> 
> (deliveries continued, without filtering)
> 
> James Smallacombe                   PlantageNet, Inc. CEO and Janitor
> [EMAIL PROTECTED]                                                         
> http://3.am
> =========================================================================

Reply via email to