amavis-user October 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] amavis proxy problems

Re: [AMaViS-user] amavis proxy problems

From: Rok Potočnik <r_at_nospam>
Date: Fri Oct 29 2010 - 15:02:25 GMT

On 29.10.2010 16:16, Mark Martinec wrote:
> 100 instances is probably better for such a setup than 50.
> Did you enable the:
> -o smtpd_proxy_options=speed_adjust
> on the postfix smtpd service on port 25? (Postfix 2.7.0 or later
> is required). This is practically a must for a pre-queue setup
> with any substantial mail traffic.

Oops... Didn't know about that one... I've just added that to
on all the servers and also added it for smtps and submission on smtp
servers for customers.

> What does amavisd-nanny show? Are all amavisd processes busy
> most of the time, or is it common that some processes are idle?
> If all are busy persistently, that would explain the situation.
> Is there a way to measure socket backlog queue length on amavisd socket
> on your system (perhaps with netstat), or is your system using SYN cookies?
> Netstat may be able to show syncache statistics for the tcp protocol,
> or socket queue drops - not sure how this works on Linux.

Nanny shows that the most of the instances are idle and according to
stats on zabbix it seems that ever since the change in the number of
instances (50 -> 100) the lowest 'idle instance' value on all the
servers was 66 on one of the servers, 70 on another one and so on... I
don't think that's an issue. SYN cookies are enabled on the servers,
max_syn_backlog is set to 1k, iptables is disabled, selinux is
permissive for the time being...

-- BR, Rok ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store _______________________________________________ AMaViS-user mailing list Please visit regularly For administrativa requests please send email to rainer at openantivirus dot org