#1  
Old 5th February 2014, 01:33
ezat ezat is offline
Junior Member
 
Join Date: Aug 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default amavisd processes

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
Reply With Quote
Sponsored Links
  #2  
Old 5th February 2014, 08:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Normally, amavis has just 2 child processes. Which Linux distribution do you use?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 6th February 2014, 03:33
ezat ezat is offline
Junior Member
 
Join Date: Aug 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

Ezat
Reply With Quote
  #4  
Old 6th February 2014, 09:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

add a new file:

/etc/amavis/conf.d/90-custom

with this content:

Code:
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 master.cf, change the line:

amavis unix - - - - 2 smtp

to:

amavis unix - - - - 1 smtp

and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: unable to bind listening socket for address '127.0.0.1:8999': Address already kvess1967 HOWTO-Related Questions 1 8th March 2013 14:49
Can't start PHPFPM Snow Installation/Configuration 11 5th December 2012 02:48
Need help with ISPConfig 3 Update midcarolina Installation/Configuration 36 8th November 2011 22:07
Maia MailGuard in ISPC3 warlock Tips/Tricks/Mods 7 23rd December 2010 05:51
Too many processes on vServer TomC General 3 23rd April 2008 13:38


All times are GMT +2. The time now is 22:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.