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
Was this answer helpful?

Related Articles

How can I change the interface language of the extension?

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

Why isn't autolearning working for me (autolearn=no) ?

Lots of people seem to be confused by the "autolearn=no" statement in the default X-Spam-Status...

How can I disable admin email notifications in Amavis?

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

Where are the configuration files for Warden located?

Centos/RHEL/CloudLinux/AlmaLinux Configuration files: // amavis (Content Filter Settings)...

How can I override the score for a specific rule in Warden?

To Override a Rule Score Navigate to Warden -> Rules -> Click on Add then select the...