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 2007/05/31 16:10:17 UTC

[Bug 5490] New: Spamc/Spamd Overload Failover

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5490

           Summary: Spamc/Spamd Overload Failover
           Product: Spamassassin
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: spamc/spamd
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: marc@perkel.com


I would like to see a modification in the behavior of spamc/spamd to allow clean
failover when a server overloads.

Suppose I have two spamd servers and I want to configure them so that Server A
gets all the filtering traffic under normal loads and if the load is high it
starts failing over to Server B.

The idea is if max-children is reached or if the server load levels get too
high, or perhaps the precentage of free memory gets too low then I want spamd to
close port 783 to allow the server to process what it is currently working on.
This will cleanly signal spamc clients that it is down so that spamc should try
the next server in the list. (using spamc -d ServerA,ServerB)



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

[Bug 5490] Spamc/Spamd Overload Failover

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5490





------- Additional Comments From marc@perkel.com  2007-05-31 08:34 -------
That's an interesting alternative solution. However doesn't it seem reasonable
that if spamd is maxed out that spamc should know it and go on to the next
server? spamc doesn't sem smart enough to do that yet.

And - I'd also like it to have limits so that it closes the port on high load
levels and low free memory. 

What is your iptables command that limits connections?




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

[Bug 5490] Spamc/Spamd Overload Failover

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5490





------- Additional Comments From spamassassin@dostech.ca  2007-05-31 08:28 -------
FWIW, when I needed to do this I just used a firewall to block connections after
X number of concurrent connections on port 783.



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