Hi David,

> spamd starts up ok, but the minute an email is sent through the MTA,
> calling spamc, spamd jumps to the top of the process table (via 'top')
> with memory usage in the 75%-95% range.  The system slows to a crawl
> and within a minute crashes with "Out of memory" in the system logs,
> requiring a hard reboot (and subsequent disk checks! ouch!).

I've had the same problem on a RedHat box once. After a lot of digging I could 
isolate the issue:

The installed Perl had a broken DB_File support. So when SPAMd tried to 
utilize Bayes, then it would consume all available memory in a few seconds of 
time. This did either lead to a core dump or a system crash.

To see if you have the same problem disable Bayes and then try to use SPAMd 
again (with the debugging switch). If it doesn't comsume all memory, then 
you've isolated the problem.

To fix the issue I installed the most recent DB_File from CPAN:

http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/DB_File-1.806.tar.gz

Hope this helps.

-- 

With best regards,

Michael Stauber
 



-------------------------------------------------------
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