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

           Summary: spamd child in a loop
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P5
         Component: spamc/spamd
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


been seeing this occur almost daily... have to kill -9 the pid for spamd to 
respawn the child.

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
31833 root      20   0 29576  28M  2252 R    67.3  3.8 296:28 spamd

[EMAIL PROTECTED] root]# strace -p 31833

^C

strace never shows any output.  that PID in the mail log shows the connection 
comes in but never finishes processing.

[EMAIL PROTECTED] root]# grep "\[31833\]" /var/log/maillog
Jul 27 01:39:20 spamd1 spamd[31833]: connection from localhost [127.0.0.1] at 
port 58116
Jul 27 01:39:20 spamd1 spamd[31833]: processing message <E1BpLcK-0001SY-
[EMAIL PROTECTED]> for [EMAIL PROTECTED]:0.


on another box, same thing...


  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
21845 root      19   0 27164  26M   120 R    78.9  3.5 320:48 spamd

[EMAIL PROTECTED] root]# strace -p 21845

^C
[EMAIL PROTECTED] root]# grep "\[21845\]" /var/log/maillog
Jul 27 01:22:09 spamd2 spamd[21845]: connection from localhost [127.0.0.1] at 
port 53224
Jul 27 01:22:09 spamd2 spamd[21845]: processing message <E1BpLLg-00066g-
[EMAIL PROTECTED]> for [EMAIL PROTECTED]:0.


the only thing in common between spamd1 and spamd2 is those particular children 
both hung on message from "pink.serverstoday.com".


my log shows the mail was accepted but spamc reached it timeout of 60 seconds..

+---------+---------------------+--------------------------------+--------------
--------
| elapsed | datetime            | mailfrom                       | rcptto
+---------+---------------------+--------------------------------+--------------
--------
| 60.5699 | 2004-07-27 01:23:09 | [EMAIL PROTECTED] | 
[EMAIL PROTECTED]      
| 60.5894 | 2004-07-27 01:40:20 | [EMAIL PROTECTED] | 
[EMAIL PROTECTED]         

so spamc disconnected from spamd after its timeout, but those spamd children 
continued to run forever for some reason.

so, should there be a spamd children timeout setting as well to prevent this?

i know the best solution is obviously figure out what caused the loop, but a 
timeout on spamd children just in case would be nice dont you think?

d



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

Reply via email to