Support / KnowledgeBase

 
Search the KnowledgeBase Search

Modify the number of SpamAssassin processes

  • Applies to: All (dv)

  • Difficulty: Medium

  • Time needed: 20 minutes

  • Tools needed: SSH, ROOT, VI

 
  • Applies to: All (dv)
    • Difficulty: Medium
    • Time Needed: 20
    • Tools Required: SSH, root

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

  1. Login to Plesk as the admin user.
  2. Click on Server.
  3. Click on Spam Filter.
  4. 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.
  1. Log into your (dv) Dedicated-Virtual Server as the root user.
  2. Backup your psa.conf file:
    cp /etc/psa/psa.conf /etc/psa/psa.conf.bak
    
  3. Open your psa.conf file:
    vi /etc/psa/psa.conf
    
  4. Add or modify the following two lines:
    
    # Maximum number of Spamassassin processes
    SPAMASSASSIN_MAX_CHILDREN 2
    
    
  5. 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
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue