How can I control how much memory Amavis uses?

How much memory Amavis uses is directly tied to the Max servers option under Warden -> Settings -> Content Filter -> Filter Settings. This controls the number of pre-forked children created by Amavis. Raising this will speed up how fast Amavis processes emails at the cost of using more memory.

  1. A setting of 1-2 is recommended for low volume servers.
  2. A setting of 3-5 is recommended for medium volume servers.
  3. A setting of 6-8 is recommended for high volume servers.

Note: that each child process will typically use 250-300MB of memory so be careful how high you raise this as Amavis will use more memory and CPU.

Max servers

Warden will set the default for Max servers based on the amount of system memory available on the server:

System Memory Max server
32 GB or more 8
24 GB 6
16 GB 5
12 GB 4
8 GB 3
4 GB 2
Under 4 GB 1
  • amavis, memory, performance
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What changes does Warden make to the postfix configuration files to enable Amavis?

Important Warden will configure postfix differently depending if you selected to install the...

How hard is it to uninstall if I do not require Warden Anti-spam and Virus Protection any more?

Uninstalling Warden is as easy as going to Extensions -> My Extensions -> Warden Anti-spam...

How can I fix the error: host 127.0.0.1[127.0.0.1] said: 552 5.3.4 Declared message size (1208029 B) exceeds size limit for recipient?

You can set the message size limit for Amavis under Settings -> Policy Settings -> Misc...

What network ports are used by Warden and need to be opened on the firewall?

All of the network based tests (Razor, Pyzor, DCC) that Warden uses must be opened on the...

How can I change the interface language of the extension?

You can change the interface language under Settings -> Application Settings -> Locale...