Hello,
I thought I set this in /etc/rc.d/init.d/spamd for RedHat Linux but maybe I'm wrong. I see this about --max-children for spamd:

-m number , --max-children=number
This option specifies the maximum number of children to spawn. Spamd will spawn that number of children, then sleep in the background until a child dies, wherein it will go and spawn a new child. Incoming connections can still occur if all of the children are busy, however those connections will be queued waiting for a free child. The minimum value is 1, the default value is 5. Please note that there is a OS specific maximum of connections that can be queued (Try perl -MSocket -e'print SOMAXCONN' to find this maximum). Note that if you run too many servers for the amount of free RAM available, you run the danger of hurting performance by causing a high swap load as server processes are swapped in and out continually.

I did a perl -MSocket -e'print SOMAXCONN' on my system and I get 128.

Here is my option section of my spamd:

# Set default spamd configuration.
SPAMDOPTIONS="-d -m 20 -H"
SPAMD_PID=/var/run/spamd.pid

I'm still getting these error messages in my log:

server reached --max-children setting, consider raising it

Am I supposed to set it here or some other place? I see that spamd.conf and it is supposed to be in /etc but I don't have spamd.conf there so should I make one?

Thank you,
Frank

Reply via email to