OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Tuning Concurrency Limits

From: mouss (mlist.onlyfree.fr)
Date: Wed May 02 2007 - 10:51:27 CDT


Jorey Bump wrote:
> Wietse Venema wrote:
>> Jorey Bump:
>>> warning: Connection concurrency limit exceeded: 11 from
>>> mx.example.com[192.168.1.2] for service smtp
>>
>> This record is logged by the SMTP server process, which is
>> responsible for RECEIVING mail.
>>
>> It's always a good idea to consider the entire error record
>> not just the last portion.
>
> Aargh. Sorry. Here are the full log entries:
>
> Apr 23 17:30:33 mail postfix/smtpd[25826]: connect from
> mx.example.com[192.168.1.2]
> Apr 23 17:30:33 mail postfix/smtpd[25826]: warning: Connection
> concurrency limit exceeded: 11 from mx.example.com[192.168.1.2] for
> service smtp
> Apr 23 17:30:33 mail postfix/smtpd[25826]: disconnect from
> mx.example.com[192.168.1.2]
>
>>> After reading this guide:
>>>
>>> http://www.postfix.org/TUNING_README.html#rope
>>>
>>> I've decided to lower this parameter from the default of 20:
>>>
>>> default_destination_concurrency_limit = 10
>>
>> These are for DELIVERING mail.
>
> I've obviously misinterpreted the error. What parameter should I focus
> on to address it?
>
> Here's the SMTP portion of my master.cf:
>
> smtp inet n - n - 20 smtpd
> -o smtpd_proxy_filter=127.0.0.1:10025

> -o smtpd_client_connection_count_limit=10
10<11.

>
> localhost:10026 inet n - n - - smtpd
> -o smtpd_authorized_xforward_hosts=127.0.0.0/8
> -o smtpd_client_restrictions=
> -o smtpd_helo_restrictions=
> -o smtpd_sender_restrictions=
> -o smtpd_recipient_restrictions=permit_mynetworks,reject
> -o smtpd_data_restrictions=
> -o mynetworks=127.0.0.0/8
> -o receive_override_options=no_unknown_recipient_checks
>
> The smtpd_client_connection_count_limit=10 is the only parameter in my
> configuration that would be exceeded by 11. Is this the culprit?
>
>
>