Re: tracking MTA connections

2009-01-08 Thread Cory Coager
Noel Jones said the following on 01/08/2009 10:34 AM: Postfix keeps idle processes around for $max_idle (default 100s), so the process count is only an approximation of the number of connections. Idle processes are reused $max_use (default 100) times before they are retired. The number of pro

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > Well, there ARE enough processes as is. Your server is very low > volume it seems. > > > I ran the command on watch and the output never changes however postfix > > is processing about 5 messages per minute. Why am I getting different > > results? Is this a configuration

Re: tracking MTA connections

2009-01-08 Thread Noel Jones
Cory Coager wrote: Ralf Hildebrandt said the following on 01/08/2009 08:39 AM: * Cory Coager : I'm attempting to generate some rrd graphs to track MTA connections for postfix. With sendmail it was possible to do this by greping the ps list for the number of sendmail processes. How would I

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Cory Coager : > Unfortunately its not working. > > # ps auxwww|grep "smtp -n" > postfix 16747 0.0 0.0 3728 1172 ?S10:08 0:00 smtp -n > pmx -t unix -u > postfix 18905 0.0 0.0 3728 1160 ?S10:21 0:00 smtp -n > pmx -t unix -u > > The version installed is 2

Re: tracking MTA connections

2009-01-08 Thread Cory Coager
* Ralf Hildebrandt : grep for the smtp processes (not smtpd) (or vice versa) The number of smtp processes never changes so this won't work. Why ask if you know better? Of course it changes. mail-ausfall:~# ps auxwww|grep "smtp -n" |wc -l 6 mail-ausfall:~# ps auxwww|

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > >> grep for the smtp processes (not smtpd) > >> (or vice versa) > > > The number of smtp processes never changes so this won't work. > > Why ask if you know better? Of course it changes. mail-ausfall:~# ps auxwww|grep "smtp -n" |wc -l 6 mail-ausfall:~# ps auxwww|grep "smt

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Cory Coager : >>> I'm attempting to generate some rrd graphs to track MTA connections for >>> postfix. With sendmail it was possible to do this by greping the ps >>> list for the number of sendmail processes. How would I accomplish this >>> on postfix? >>> >> >> grep for the smtp processe

Re: tracking MTA connections

2009-01-08 Thread Cory Coager
Ralf Hildebrandt said the following on 01/08/2009 08:39 AM: * Cory Coager : I'm attempting to generate some rrd graphs to track MTA connections for postfix. With sendmail it was possible to do this by greping the ps list for the number of sendmail processes. How would I accomplish this on p

Re: tracking MTA connections

2009-01-08 Thread Ralf Hildebrandt
* Cory Coager : > I'm attempting to generate some rrd graphs to track MTA connections for > postfix. With sendmail it was possible to do this by greping the ps > list for the number of sendmail processes. How would I accomplish this > on postfix? grep for the smtp processes (not smtpd) (or vice