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 2004/12/23 09:27:12 UTC
[Bug 4049] New: RFE: stop spam detection at maximum load average
http://bugzilla.spamassassin.org/show_bug.cgi?id=4049
Summary: RFE: stop spam detection at maximum load average
Product: Spamassassin
Version: 3.0.1
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: spamc/spamd
AssignedTo: dev@spamassassin.apache.org
ReportedBy: martin.t.kutschker@blackbox.net
If the the system load gets very high (for whatever reasons) I (as as system
administrator) may want to decide that I rather get spam mails than to loose my
system. So a way to tell spamd a maximum value for the load average would be
nice. Could be a command line switch or an entry in the config files.
Above the maximum load spamd should either report the failure or silently choose
not do any scanning and report a score of 0.0. Perhaps this alternatives can be
some configuration options as well.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4049] RFE: stop spam detection at maximum load average
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4049
spamassassin@dostech.ca changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |spamassassin@dostech.ca
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4049] RFE: stop spam detection at maximum load average
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4049
------- Additional Comments From spamassassin@dostech.ca 2005-01-11 21:08 -------
Created an attachment (id=2602)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2602&action=view)
patch against 3.0
I've been running this for about a day now... works pretty nice. I should have
wrote it sooner.
Adds --max-load-average option to spamd. Once the set load average threshold
is exceeded spamd (almost) immediately closes the connection on the spamc
client, causing spamc to try another spamd server (if the spamc -d flag is
used) or return the unscanned message. The child's connection counter is not
incremented so that killing & respawning the child doesn't add to the system's
load.
If there's interest, I'll edit the patch to work against trunk too.
Daryl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4049] RFE: stop spam detection at maximum load average
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4049
------- Additional Comments From spamassassin@dostech.ca 2005-01-11 21:27 -------
Oops... -d doesn't fall back to the next host listed, it just returns the
message unscanned.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4049] RFE: stop spam detection at maximum load average
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4049
martin.t.kutschker@blackbox.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.