Hi Michael,

I gave this a try, commenting out bayes and then adding it back too.
NOW I'm seeing spamd running for about 1 hour before it crashes the
machine
with and without bayes commented. A marked improvement, but still
crashing my machine.

I did also update DB_File using CPAN, but I noticed at the end of the
CPAN
output it said "DB_File is up to date" so I don't think it did actually
update anything.
Do you know how to check the DB_File version so I can confirm it's at
1.806?

Is there anyway to tell spamd to spew out detailed trace information
while running that might tell me when/how memory is getting all gobbled
up?

Also, these last few times (while testing this potential fix) that
spamd froze my machine, and after a hard reboot, I didn't see any
"out of memory" entries in /var/log/message, like I did at first.  I
know
spamd is the culprit though because I still see it sitting at the top of
'top' with 90%+ memory usage right before the machine locks up /
freezes.

I really want to use SA here!  Anyone else have any ideas as to why its
killing my box?

Thanks,
David




> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Michael Stauber
> Sent: Sunday, October 12, 2003 9:42 PM
> To: David McMahon; [EMAIL PROTECTED]
> Subject: Re: [SAtalk] System crashing with spamd
> 
> 
> 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



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