At 16:35 15/10/2003 -0500, Mike Carlson wrote:
I have a FreeBSD box running sendmail/spamass-milter and spamassassin. This
morning the box decided to run out of swap space and it kept killing the perl
process. Anyone seen this before? How much swap space should I dedicate to
the box? I process about 2000 to 3000 messages a day on a PII 400. I never
thought it would run out of swap space.

It's not swap space thats your problem, but lack of physical ram. (You havn't told us how much physical ram the box has, but its easy to guess thats the problem)


As soon as you *start* swapping (let alone run out of swap) you're already in big trouble, swap is too slow which causes your machine to fall behind the incomming message rate, which causes more spamassassin processes to run at once, which uses even more swap, and on it goes in a downward spiral.

Theres two things you probably need to do:

* Add more physical ram
* Limit the maximum number of spamassassin processes that can run at once to a value that doesn't use too much memory


Regards,
Simon



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to