How can I speed up how fast Amavis processes email?

How fast Amavis can process email is directly tied to the Max servers option under Warden -> Settings -> 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 and CPU.

  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.

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 8
24 GB 6
16 GB 5
12 GB 4
8 GB 3
4 GB 2
Under 4 GB 1


How to optimize the performance of Amavis

For more information about how to optimize the performance for processing large amounts of mail go here.

  • amavis, optimize, performance, memory
  • 1 Users Found This Useful
この回答はお役に立ちましたか?

Related Articles

How can I change the interface language of the extension?

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

How can I disable admin email notifications in Amavis?

Amavis has different default options for controlling where virus, spam, banned file attachments,...

How can I whitelist or blacklist a mail server from greylisting?

To Whitelist a Mail Server From Greylisting Navigate to Warden -> Settings ->...

How can I enable third party anti-virus signatures within Warden to improve the ClamAV detection rate?

Warden supports enabling third party anti-virus signatures to improve the detection rate. These...

How can I setup a local caching DNS resolver to speed up DNS queries used by Amavis?

Run the following command to check if local DNS caching is enabled: host -tTXT...