Modify the number of SpamAssassin processes
Overview
To reduce RAM usage on your (dv) Dedicated-Virtual Server you can reduce the number of processes used by spamassassin.
Instructions
Modify the number of spamassassin processes via Plesk Control Panel
- Login to Plesk as the admin user.
- Click on Server.
- Click on Spam Filter.
- Now, change the number next to "The maximum number of worker spamd processes to run (1-5)".
Modify the number of spamassassin processes via SSH
- Whenever installing third-party software, please consult the official documentation. (mt) Media Temple does not support the installation and configuration of software not installed at time of service activation. Please consult our (dv) Scope of Support page for further explanation.
- Log into your (dv) Dedicated-Virtual Server as the root user.
-
Backup your psa.conf file:
cp /etc/psa/psa.conf /etc/psa/psa.conf.bak
-
Open your psa.conf file:
vi /etc/psa/psa.conf
-
Add or modify the following two lines:
# Maximum number of Spamassassin processes SPAMASSASSIN_MAX_CHILDREN 2 -
Finally, restart SpamAssassin with the following line:
service psa-spamassassin restart
User Comments
No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article