http://bugzilla.spamassassin.org/show_bug.cgi?id=4310





------- Additional Comments From [EMAIL PROTECTED]  2005-05-06 15:45 -------
Subject: Re:  spamd stops responding to new connections

On Fri, May 06, 2005 at 03:12:23PM -0700, [EMAIL PROTECTED] wrote:
> ick -- that looks like Daniel's hang bug (which was fixed).  What *is* in the
> log?  can you rerun with debugs on?

Hrm.  I'll see what I can do about running with debug, maybe only run the new
version for myself or something.


I see we stopped logging child states:

May  6 15:54:03 eclectic spamd[28841]: prefork: child states: II 
May  6 15:54:05 eclectic spamd[28841]: prefork: child states: II 
May  6 17:53:42 eclectic spamd[23241]: prefork: child states: BI 
May  6 17:53:43 eclectic spamd[23241]: prefork: child states: IB 
May  6 17:53:44 eclectic spamd[23241]: prefork: child states: IB 

I issued the upgrade command at 15:53:54.  First noticed a problem around
16:23:30 when I restarted spamd.  Saw the probem again around 17:53 when
I downgraded (did a sudo shell for that, so I don't quite know the time).

May  6 15:54:05 eclectic spamd[28841]: server killed by SIGTERM, shutting down
May  6 15:54:08 eclectic spamassassin[14014]: spamd: server started on port 
783/tcp (running version 3.1.0-r164435)
May  6 15:54:08 eclectic spamassassin[14014]: spamd: server successfully 
spawned child process, pid 14018
May  6 15:54:08 eclectic spamassassin[14014]: spamd: server successfully 
spawned child process, pid 14019
May  6 15:54:08 eclectic spamassassin[14014]: spamd: server pid: 14014

then it goes on and processes messages for a little while, but stops pretty
quickly:

May  6 15:59:32 eclectic spamassassin[14018]: spamd: setuid to timex succeeded
May  6 15:59:32 eclectic spamassassin[14018]: spamd: processing message <[EMAIL 
PROTECTED]> for timex:507
May  6 15:59:34 eclectic spamassassin[14018]: spamd: clean message (0.1/5.0) 
for timex:507 in 2.2 seconds, 8400 bytes.
May  6 15:59:34 eclectic spamassassin[14018]: spamd: result: .  0 - 
BAYES_00,INVESTMENT_ADVICE,MSGID_FROM_MTA_ID,NO_REAL_NAME 
scantime=2.2,size=8400,user=timex,uid=507,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=47360,mid=<[EMAIL
 PROTECTED]>,bayes=1.66533453693773e-16,autolearn=no
May  6 16:23:57 eclectic spamassassin[14014]: spamd: server killed by SIGTERM, 
shutting down
May  6 16:23:57 eclectic spamc[15444]: connect(AF_INET) to spamd at 127.0.0.1 
failed, retrying (#1 of 3): Connection refused
May  6 16:23:57 eclectic spamc[15447]: connect(AF_INET) to spamd at 127.0.0.1 
failed, retrying (#1 of 3): Connection refused
May  6 16:23:58 eclectic spamassassin[15457]: spamd: server started on port 
783/tcp (running version 3.1.0-r164435)
May  6 16:23:58 eclectic spamassassin[15457]: spamd: server successfully 
spawned child process, pid 15461
May  6 16:23:58 eclectic spamassassin[15457]: spamd: server successfully 
spawned child process, pid 15462
May  6 16:23:58 eclectic spamassassin[15457]: spamd: server pid: 15457

So apparently it died for ~25 minutes before I noticed it.  14018 did
113 msgs, 14019 did 60.  Did the restart, ran more messages for a while
(~40m) until it died and I downgraded:

May  6 17:04:16 eclectic spamassassin[20399]: spamd: clean message (-1.6/5.0) 
for timex:507 in 2.7 seconds, 11596 bytes.
May  6 17:04:16 eclectic spamassassin[20399]: spamd: result: . -1 - 
BAYES_00,INVESTMENT_ADVICE 
scantime=2.7,size=11596,user=timex,uid=507,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=49902,mid=<[EMAIL
 PROTECTED]>,bayes=2.22044604925031e-16,autolearn=ham
May  6 17:53:38 eclectic spamassassin[15457]: spamd: server killed by SIGTERM, 
shutting down
May  6 17:53:39 eclectic spamc[23190]: connect(AF_INET) to spamd at 127.0.0.1 
failed, retrying (#1 of 3): Connection refused
May  6 17:53:39 eclectic spamc[23193]: connect(AF_INET) to spamd at 127.0.0.1 
failed, retrying (#1 of 3): Connection refused
May  6 17:53:39 eclectic spamd[23201]: spamd starting 
May  6 17:53:40 eclectic spamd[23203]: server started on port 783/tcp (running 
version 3.1.0-r162060) May  6 17:53:40 eclectic spamd[23203]: server killed by 
SIGTERM, shutting down
May  6 17:53:41 eclectic spamd[23239]: spamd starting 
May  6 17:53:42 eclectic spamd[23241]: server started on port 783/tcp (running 
version 3.1.0-r162060)
May  6 17:53:42 eclectic spamd[23241]: server successfully spawned child 
process, pid 23245
May  6 17:53:42 eclectic spamd[23241]: server successfully spawned child 
process, pid 23246


This last run did spawn children and such unlike the first run:

    199 15461
    200 15462
      3 15470
      1 16696
    200 17343
      1 17925
    200 18183
      1 19058
    200 19341
    177 20399
      4 20426
      1 20554
     41 21831





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to