Difference between revisions of "Installation (Zimbra)"

Jump to navigation Jump to search
→‎Post Install Config: Added "Reduce AV Memory Usage"
(Updated post install section (continuation of rewrite))
(→‎Post Install Config: Added "Reduce AV Memory Usage")
Line 85: Line 85:
| <code> 00,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmlogprocess ...</code> || <code> */15 * * * * /opt/zimbra/libexec/zmlogprocess ...</code> || Reduce log processing to every 15 mins
| <code> 00,10,20,30,40,50 * * * * /opt/zimbra/libexec/zmlogprocess ...</code> || <code> */15 * * * * /opt/zimbra/libexec/zmlogprocess ...</code> || Reduce log processing to every 15 mins
|}
|}
=== Reduce AV Memory Usage ===
Anti-virus spawns a number of threads so that it can concurrently process incoming and outgoing email.  If your server isn't expected to under much load and/or you're not too worried about mail queueing waiting to be scanned you can reduce the number of instances of amavisd that get spawned.
The default is 10 processes.  Reducing the number of process may reduce the amount of RAM used by AV scanning may allow other components of the system to use more RAM, effectively improving the responsiveness of the server, at the expense of reducing the speed of email delivery.  However,you may find that each process is now using more RAM so overall usage hasn't decreased.
Log in to your server and as the zimbra user edit <code>/opt/zimbra/conf/amavisd.conf.in</code> and change the <code>$max_servers</code> config line.  No less than 2 is recommended, eg
* <code>$max_servers = 5; </code>


== References ==
== References ==

Navigation menu