Dan Didier Sent: Friday, June 04, 2004 10:22 AM

> I am running qmail with spamassassin 2.63 using spamd.  I have
> noticed under high load spamd crashes because it runs out of RAM.
> Each spamd process takes about 45MB of ram.  When I reach the
> limits of RAM and it want's to spawn another, it crashes.   
> 
> Is there a way I can reduce the memory utilization?  Another option
> would be if I could limit the number of spamd processes, is there a
> way to do this?

When you invoke spamd use "-mX" where X is the maximum number of processes.
45 MB sounds pretty high. Do you have a lot of extra rules in there? I have
almost every rulesemporium rule and I think mines around 30 MB or so. Also,
make sure that the process is finishing within a timely manner. I had a
problem early on with defunct RBLs that were timing out and therefore making
each spawned process sit around much longer than it needed too. I've got a
RH9 Dell 2.4 ghz P4 with 512 MB RAM, 40 GB IDE drive, and each process takes
about a second or so.

cheers,
Colin

Colin A. Bartlett
Kinetic Web Solutions
www.kineticweb.biz 

Reply via email to