spamd spawning 5 children when exim starts

evil_smurf

Verified User
Joined
Mar 3, 2006
Messages
112
I was wondering where this configuration change can be made. I want to lower spamd's children, however I have been all over the exim configuration file, as well as spamassassin's files, and can't figure out where to change it.

Whenever exim restarts, it starts spamd with 5 children. Where do I change this number of children at?
 
Whenever exim restarts, it starts spamd with 5 children. Where do I change this number of children at?
The default number of SA children is 5. Why would you want to decrease the default number?

On a RHE and similar systems, you can de/increase children limits by editing /etc/sysconfig/spamassassin file and change the -m option.
 
I decrease the number of children to 1, as that handles the email load just fine, and anymore children just wastes ram.

I have seen many places say it is in /etc/sysconfig/spamassassin, but that file doesn't exist on my system.

I am running CentOS 4.6, and spamassassin was installed using DA's spam.sh


Aha! Found it. It's in init.d/exim


if [ -e /usr/bin/spamd ]; then /usr/bin/spamd -d -c -m 5 1>/dev/null 2>/dev/null; fi
 
Last edited:
I was wondering where this configuration change can be made. I want to lower spamd's children, however I have been all over the exim configuration file, as well as spamassassin's files, and can't figure out where to change it.

Whenever exim restarts, it starts spamd with 5 children. Where do I change this number of children at?

Look here:
nano -w /etc/init.d/exim

Then look at this line:
if [ -e /usr/bin/spamd ]; then /usr/bin/spamd -d -c -m 15 1>/dev/null 2>/dev/null; fi

I have mine set to fifteeen.

Matt
 
Back
Top