At Sun Oct 19 10:45:41 2003, Simon Byrnand wrote:

> Well, the only problem is that you're allowing too many spamd's to run at
> once. "40 or 50" is *WAY* too many. Even on our server with 1GB of ram I
> don't allow it to run more than about 30 spamd's at once.
> 
> Probably all thats happening is you get a sudden burst of incomming mail
> (possibly a spammer doing a spam run) and too many spamd's get launched at
> once, memory use pushes the server into swap, the swapping causes the
> server to fall behind the incomming connection rate, game over.
> 
> This general problem has been discussed *many* times on the list...

I'm beginning to wonder whether spamd should have a built-in default
value for -m to help avoid this problem.  It's not inconceivable that
some people have tried using SA, had their server die on them through
excessive swapping, not realised that this list existed to ask the
question, and just given up on SA altogether.

Any built-in default would be overrideable by a command-line flag, so
people with more or less powerful server could adjust it.  Perhaps
spamd could log a warning at startup if the user didn't specify a -m
value on the startup command-line.

One might also imagine spamd doing some OS-dependent checks to guess
at what might be a reasonable default -m value, but I think that's
going a bit far :-)

Thoughts, flames?

Martin
-- 
Martin Radford              |   "Only wimps use tape backup: _real_ 
[EMAIL PROTECTED] | men just upload their important stuff  -o)
Registered Linux user #9257 |  on ftp and let the rest of the world  /\\
- see http://counter.li.org |       mirror it ;)"  - Linus Torvalds _\_V


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to