Commits

Zhang Huangbin committed a181e06

Decrease number of pre-forked Amavisd processes to 4 to reduce memory usage.

  • Participants
  • Parent commits b01a79a

Comments (0)

Files changed (2)

File iRedMail/ChangeLog

           Required by iRedAdmin-Pro self-service.
 
     * Fixed:
+        - Decrease number of pre-forked Amavisd processes to 4 to reduce
+          memory usage.
         - Add missing SQL column (mailbox.enableindexer-worker) and LDAP
           attribute/value pair: enabledService=indexer-worker. Required by
           Dovecot.

File iRedMail/conf/amavisd

 export AMAVISD_RC_SCRIPT_NAME='amavisd'
 
 # Num of pre-forked children.
-export AMAVISD_MAX_SERVERS='10'
+export AMAVISD_MAX_SERVERS='4'
 
 export AMAVISD_DKIM_DIR='/var/lib/dkim'
 export AMAVISD_VIRUSMAILS_DIR='/var/virusmails'