From: Qscar_Zovo?= (no email)
Date: Thu Jul 01 2004 - 05:58:12 EDT
Hi
I have almost the same setup and traffic as you (dual Pentium Xeon
2.4GHz, 4GB RAM). What I have noticed is that there is no benefit to
raise too much the number of amavis processes.
On amavisd.conf I use:
$max_servers = 8
$max_requests = 10 (default value on amavis).
On master.cf:
smtp-amavis unix - - n - 8 lmtp
Initially I used high values for $max_servers (100) and all I would see
is my mail queue filling up with thousand messages waiting to be
filtered, and a climbing load average.
All DNSBL/access/backscatter checks are done by postfix. Amavisd only
does local and DCC checks.
Jonathan Nichols wrote:
> Greetings,
> I have (another) mailserver that gets about 250,000 mails a day -
> only about 15,000 are legit, the rest are common bogus addresses that
> get dropped (if they occur frequently enough) or bounced.
>
> Users have been saying that mails are taking too long to be delivered to
> the main MX (another box in the DMZ)
>
> I tried raising the number of smtp-amavis processes, and the number of
> preforked amavis children. Was this a bright idea?
>
> Box:
> Dell PowerEdge 2600, Dual Intel(R) Xeon(TM) CPU 1.80GHz
> 6gb ECC PC133 SDRAM
> 2 x 36gb U320 10Krpm drives in RAID 1
>
>
(...)
>
> ########### part of amavisd.conf
>
> $max_servers = 350; # number of pre-forked children (default 2)
> $max_requests = 800; # retire a child after that many accepts (default
> 10)
>
> $child_timeout=5*60; # abort child if it does not complete each task in
> n sec
> # (default: 8*60 seconds)
>
>
>
>
-- ******************************************** NEXUS - Telecomunicacoes e Servicos SARL Rua dos Enganos Nr. 1 / 1ro andar - Kinaxixi Tel: +244 2 336533 URL: www.nexus.ao ********************************************
|
|
|