amavisd processes

Discussion in 'Installation/Configuration' started by ezat, Feb 5, 2014.

  1. ezat

    ezat New Member

    Hello all,

    I searched the forums for an answer to this with no avail.

    I have a large amount of amavisd child processes (around 18) which i would like to trim down. I tried to find the amavisd.conf file under /etc/amavis/conf.d/ directory to possibly specify a $maxservers variable but was unable to find it. I guess the question is whether it is possible and how and also if there is a how to guide on ispconfig 3 tuning for low end vps's.

    Many thanks
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Normally, amavis has just 2 child processes. Which Linux distribution do you use?
  3. ezat

    ezat New Member

    Apologies Till.

    I should have stated my environment in detail.

    Currently running Ubuntu 12.04.4 LTS x64. Its a VPS located in the states.

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    add a new file:


    with this content:

    use strict;
    # Place your configuration directives here.  They will override those in
    # earlier files.
    # See /usr/share/doc/amavisd-new/ for documentation and examples of
    # the directives you can use in this file
    $max_servers = 1;
    #------------ Do not modify anything below this line -------------
    1;  # insure a defined return
    and then restart amavis. in postfix, change the line:

    amavis unix - - - - 2 smtp


    amavis unix - - - - 1 smtp

    and restart postfix.

Share This Page