You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/08/31 22:35:04 UTC
[Bug 4563] New: Spamd prefork warning messages: "select returned undef" and "tcp timeout"
http://bugzilla.spamassassin.org/show_bug.cgi?id=4563
Summary: Spamd prefork warning messages: "select returned undef"
and "tcp timeout"
Product: Spamassassin
Version: 3.1.0
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: spamc/spamd
AssignedTo: dev@spamassassin.apache.org
ReportedBy: cmt-spamassassin@someone.dhs.org
I just installed 3.1.0-rc2 and noticed some warnings in my mail.log, apparently related to
preforking. It does not appear to be affecting the scanning of mail via spamc.
Aug 31 14:55:41 ns1 spamd[6494]: prefork: child states: II
Aug 31 14:56:03 ns1 spamd[6494]: tcp timeout at /usr/share/perl5/Mail/SpamAssassin/
SpamdForkScaling.pm line 195.
Aug 31 14:56:03 ns1 spamd[6494]: tcp timeout at /usr/share/perl5/Mail/SpamAssassin/
SpamdForkScaling.pm line 195.
Aug 31 14:56:03 ns1 spamd[6494]: prefork: select returned undef! recovering
Aug 31 14:58:03 ns1 spamd[6494]: tcp timeout at /usr/share/perl5/Mail/SpamAssassin/
SpamdForkScaling.pm line 195.
Aug 31 14:58:03 ns1 spamd[6494]: tcp timeout at /usr/share/perl5/Mail/SpamAssassin/
SpamdForkScaling.pm line 195.
Aug 31 14:58:03 ns1 spamd[6494]: prefork: select returned undef! recovering
Aug 31 15:00:02 ns1 spamd[6494]: tcp timeout at /usr/share/perl5/Mail/SpamAssassin/
SpamdForkScaling.pm line 195.
Aug 31 15:00:02 ns1 spamd[6494]: tcp timeout at /usr/share/perl5/Mail/SpamAssassin/
SpamdForkScaling.pm line 195.
Aug 31 15:00:05 ns1 spamd[6494]: prefork: select returned undef! recovering
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4563
------- Additional Comments From cmt-spamassassin@someone.dhs.org 2005-08-31 13:36 -------
Created an attachment (id=3110)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=3110&action=view)
spamd -D run
This attachment shows messages from spamd -D.
I scanned an email using spamc at the end.
Confs available upon request
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4563
------- Additional Comments From cmt-spamassassin@someone.dhs.org 2006-01-24 18:05 -------
I've been running with no addon rulesets for the last few days and the warnings continue to appear in the
logfiles.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4563
jm@jmason.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From jm@jmason.org 2006-01-31 03:20 -------
this is indeed related to bug 4696. marking dup
*** This bug has been marked as a duplicate of 4696 ***
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4563
------- Additional Comments From jm@jmason.org 2006-01-24 18:59 -------
thanks Chris -- good to know.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4563
------- Additional Comments From cmt-spamassassin@someone.dhs.org 2006-01-27 03:08 -------
I have applied the patch from from bug 4696 and reenabled my 3rd party rulesets.
Will report back.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4563
------- Additional Comments From a.piesk@gmx.net 2005-10-09 02:41 -------
i hit the same problem in 3.1.0. i start spamd with these options:
--allow-tell --daemonize --username=spamd --max-children=3 --max-spare=1
--pidfile=/var/run/spamd.pid --socketpath=/var/run/spamd.sock --socketowner=exim
--socketgroup=sa --socketmode=0660
the problem is that spamd goes down when this timeout occurs. what tcp timeout
is it, --timeout-tcp? could increasing --timeout-tcp help?
-ap
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4563
------- Additional Comments From jm@jmason.org 2006-01-19 18:17 -------
are either of you running into George R. Kasica's bug in bug 4696? namely
timeouts caused by load and large rulesets?
to test, remove non-default rulesets and see if it still happens. if it does,
it's not that bug; if it doesn't, it probably is.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4563
------- Additional Comments From cmt-spamassassin@someone.dhs.org 2006-01-19 21:08 -------
I'll run with only stock rules for a while and report back in a couple days. Note that my server is typically
low load.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4563
------- Additional Comments From schulz@adi.com 2006-01-30 17:21 -------
Note that there is a new and improved patch out for bug 4696. The old patch
wasn't bad, just not always good enough.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4563] Spamd prefork warning messages: "select returned undef" and "tcp timeout"
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4563
------- Additional Comments From schulz@adi.com 2006-01-25 19:11 -------
It might be worthwhile to try the patch (just out) from bug 4696.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.