• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Increase spamd max-children

RattleSn@ke

New Pleskian
[SOLVED] Increase spamd max-children

Hello!

My question is plain and simple, does anyone know how I can raise the --max-children to lets say 25 instead of the max 5 that is possible through the webinterface.

Please let me know...
Thanks!
Onno.
 
Look in /etc/sysconfig/spamassassin

or if you are running qmail-scanner, look at /etc/qmail-scanner.ini
 
Originally posted by jwdick
Look in /etc/sysconfig/spamassassin

or if you are running qmail-scanner, look at /etc/qmail-scanner.ini
Thanks for your reply, but when I change the num of workers through the CP to lets say 3, /etc/sysconfig/spamassassin isn't updated so I don't think it would be of any help when I change the file.

Also qmail-scanner.ini isn't there.

Thanks!
 
I try to explain you such activity:

Actually, it is important to limit the maximum children for spamd, because if there is a large spam attack - too many processes are started and the system can run out of resources (memory & swap).

So, since 8.1 this parameter was limited I guess.
 
Originally posted by Hedgren
In the earlier plesk versions there was such option in /etc/psa/psa.conf, but now it is obsolete: http://kb.swsoft.com/en/787
I guess, it was done for a reason.
Thank you Hedgren!
And for unika, the reason I wanted this value higher than the Plesk max of 5, is because sometimes I've customers where the qmail-send dies and it takes hours to process the queued mail and SA is complaining that the max children has been reached.

So at that moment I've to raise it so the queue is faster empty.

Thanks you all!
Onno.
 
is there a way to change this above 5.
my mail queue gets backed up still.
Mar 6 00:46:01 email2 spamd[10245]: spamd: got connection over /tmp/spamd_full.sock
Mar 6 00:46:01 email2 spamd[10234]: prefork: child states: BBBBB
Mar 6 00:46:01 email2 spamd[10234]: prefork: server reached --max-children setting, consider raising it
 
update in mysql psa.misc

http://kb.odin.com/en/787

mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -e "update psa.misc set val='25' where param='spamfilter_max_children'"

/etc/init.d/psa-spamassassin restart

ps auxww | grep spamd
and look at:
spamd ... --max-children 25 ...
 
Back
Top