Number of smtp connections

2009-06-08 Thread Pascal Maes

hello,


In master.cf, I have

smtp  inet  n   -   n   -   100   smtpd


Is there a way to measure the number of connections to see how many  
times the limit is reached ?



Thanks
--
Pascal








Re: Number of smtp connections

2009-06-08 Thread Ralf Hildebrandt
* Pascal Maes :
> hello,
>
>
> In master.cf, I have
>
> smtp  inet  n   -   n   -   100   smtpd
>
>
> Is there a way to measure the number of connections to see how many times 
> the limit is reached ?

Postfix logs a warning once the limit is reached

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
There is no Darkness in Eternity, only Light too dim for us to see
(Unless you're working with NT)


Re: Number of smtp connections

2009-06-08 Thread Noel Jones

Pascal Maes wrote:

hello,


In master.cf, I have

smtp  inet  n   -   n   -   100   smtpd


Is there a way to measure the number of connections to see how many 
times the limit is reached ?



Thanks



Postfix will log a warning when the limit is reached.  If this 
happens frequently, you should increase the process limit.

http://www.postfix.org/TUNING_README.html#proc_limit

You can measure the current number of connections using system 
tools such as netstat or lsof.

A simple-minded example:
# lsof -n -i :25 | nl

  -- Noel Jones


Re: Number of smtp connections

2009-06-08 Thread Victor Duchovni
On Mon, Jun 08, 2009 at 09:41:14AM -0500, Noel Jones wrote:

> Pascal Maes wrote:
>> hello,
>> In master.cf, I have
>> smtp  inet  n   -   n   -   100   smtpd
>> Is there a way to measure the number of connections to see how many times 
>> the limit is reached ?
>> Thanks
>
>
> Postfix will log a warning when the limit is reached.  If this happens 
> frequently, you should increase the process limit.
> http://www.postfix.org/TUNING_README.html#proc_limit

Also very relevant is http://www.postfix.org/STRESS_README.html

-- 
Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:


If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.