Submitted by PaliGap on Wed, 01/25/2012 - 05:06 Pro Licensee
Hi
I am seeing a lot of warnings in /var/log/mailog like this:
Jan 25 10:04:58 spinoza spamd[4019]: prefork: child states: BBBBB Jan 25 10:04:58 spinoza spamd[4019]: prefork: server reached --max-children setting, consider raising it
How would I do that (if that's a good idea)?
Status:
Active
Comments
Submitted by andreychek on Wed, 01/25/2012 - 09:06 Comment #1
Howdy -- do you get a lot of email on your server?
It's rare that you'd need more than the default of 5, but if you're receiving quite a bit of email, you could try bumping that value up a bit.
To change that on CentOS 6, edit /etc/sysconfig/spamassassin, and you'll see a line like this:
SPAMDOPTIONS="-d -c -m5 -H"
The "5" you see in there is how many children can be spawned -- you can try bumping that up a bit.
For starters, I'd probably choose either 8, 9, or 10, and see if that helps.
And then restart SpamAssassin:
/etc/init.d/spamassassin restart
Submitted by PaliGap on Wed, 01/25/2012 - 09:24 Pro Licensee Comment #2
I was seeing this message every few seconds - but it's died down now somewhat. I think I may need more memory before increasing it ;-)
Thanks!