I patched my spamd to check to see if the free memory is high enough before spawning a new process. Worked great, but I haven't found a nice protable way to do it (depends on /proc). If you can find a way to determine free RAM in Solaris, that method should work great for you as well.


--Rich


Cheryl L. Southard wrote:
HI All,

Can anyone please offer me any suggestions on how I can stop spamd
from hogging all the memory on my mail server and spiriling into
memory-thrashing hell?

We are running spamd 2.43 with perl-5.8.0 on our Solaris 2.8 mail
server.  Every so often, another process on our mail server takes up a lot
of memory.  For example, we have a 72MB rsync job that runs every night.
When this happens, my server starts swapping.  Once the server starts
swapping, the spamd processes almost completely fail to complete, and
since more incoming e-mail arrives, it gets worse and worse until the
server grinds to a halt.


_________________________________________________________

Rich Puhek
ETN Systems Inc.
2125 1st Ave East
Hibbing MN 55746

tel: 218.262.1130
email: [EMAIL PROTECTED]
_________________________________________________________



-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to