Hello All,

 

I'm trying to understand this a little better.  I read
http://www.postfix.org/STRESS_README.html and have an ok idea about whats
happening.

 

I see several of these when watching top.  

smtpd -n smtp -t inet -u -o stress

 

I can tell you we get about 10K messages an hour on average on this box,
98-99% spam of course.

That 10K doesn't include the 1.3 connections we block at the firewall level
with some CIDRs.

The sad part is we don't have all that many users on this box, but that's
the nature of spam.

 

Anyway, I'm trying to better understand what the smtpd -n smtp -t inet -u -o
stress is really telling me.

Is there anything else I can do to reduce the stress that the system is
apparently under?

 

I was also debating adding -o stress=yes into my master.cf, but I'm not sure
that's the best way to go.
 
Any help appreciated!
 
Joey

 

 

For reference if I execute ps ax|grep smtpd  I get back between 60-85 smtp
processes:

postfix  27167  0.0  0.0  3820  952 ?        S    Oct08   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  27368  0.0  0.0  4468  960 ?        S    Oct08   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  27863  0.0  0.0  2768  956 ?        S    Oct08   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  28117  0.0  0.0  4424  956 ?        S    00:05   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  28157  0.0  0.0  4452  960 ?        S    00:10   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  28597  0.0  0.0  2828  960 ?        S    01:01   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  28793  0.0  0.0  3380  960 ?        S    01:18   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  28818  0.0  0.0  4700  956 ?        S    01:21   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  28828  0.0  0.0  3408  956 ?        S    01:21   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  28917  0.0  0.0  4588  960 ?        S    01:24   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  28958  0.0  0.0  3580  960 ?        S    01:28   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  29059  0.0  0.0  3840  960 ?        S    01:44   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  29076  0.0  0.0  4700  956 ?        S    01:45   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  29117  0.0  0.0  4320  956 ?        S    01:53   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  29119  0.0  0.0  4364  960 ?        S    01:53   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  29144  0.0  0.0  3716  956 ?        S    01:55   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  29146  0.0  0.0  3408  956 ?        S    01:55   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  30022  0.0  0.0  3088  956 ?        S    02:09   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  30096  0.0  0.0  3720  956 ?        S    02:17   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  30186  0.0  0.1  5476 2012 ?        S    02:30   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30202  0.0  0.0  4404  956 ?        S    02:30   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  30207  0.0  0.1  6128 2056 ?        S    02:31   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30218  0.0  0.0  3508  960 ?        S    02:32   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

postfix  30245  0.0  0.1  6944 2044 ?        S    02:36   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30291  0.0  0.1  5288 2004 ?        S    02:41   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30298  0.0  0.1  6496 2016 ?        S    02:43   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30301  0.0  0.1  5688 2028 ?        S    02:43   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30303  0.0  0.1  6788 2016 ?        S    02:43   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30304  0.1  0.6  8476 6560 ?        Ss   02:43   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30306  0.0  0.1  6628 1988 ?        S    02:44   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30308  0.0  0.1  6904 2056 ?        S    02:44   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30309  0.0  0.1  6692 2012 ?        S    02:44   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30310  0.0  0.1  6948 2016 ?        S    02:44   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30312  0.0  0.1  5336 2024 ?        S    02:44   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30313  0.0  0.0  3468  960 ?        S    02:44   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

nobody   30314  0.0  0.6  8196 6612 ?        Ss   02:44   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30315  0.0  0.0  4132  960 ?        S    02:44   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

nobody   30316  0.1  0.6  9308 6548 ?        Ss   02:44   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30317  0.0  0.0  3452  956 ?        S    02:44   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

nobody   30318  0.1  0.6  8624 6568 ?        Ss   02:44   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30321  0.0  0.0  4704  956 ?        S    02:44   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

nobody   30355  0.0  0.6  9792 6352 ?        Ss   02:46   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30356  0.1  0.1  6268 2052 ?        S    02:46   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30358  0.1  0.1  5248 2024 ?        S    02:46   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30360  0.1  0.6  8136 6556 ?        Ss   02:46   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30361  0.1  0.6  8820 6544 ?        Ss   02:46   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30365  0.1  0.1  6528 2028 ?        S    02:47   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30367  0.1  0.1  6288 2020 ?        S    02:47   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30368  0.1  0.1  7100 2020 ?        S    02:47   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30369  0.1  0.6  9692 6552 ?        Ss   02:47   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30370  0.0  0.1  6612 1956 ?        S    02:47   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30371  0.1  0.6  8224 6556 ?        Ss   02:47   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30372  0.1  0.6  8244 6560 ?        Ss   02:47   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30373  0.0  0.0  3852  960 ?        S    02:47   0:00 spawn -n
policy -t unix user=nobody argv=/usr/bin/perl /usr/sbin/smtpd-policy.pl

nobody   30374  0.0  0.6  8924 6352 ?        Ss   02:47   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30376  0.1  0.6  9440 6352 ?        Ss   02:48   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30377  0.1  0.1  6232 2056 ?        S    02:48   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30379  0.2  0.6  8920 6548 ?        Ss   02:48   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30383  0.1  0.1  5128 2000 ?        S    02:49   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30385  0.2  0.6  8448 6476 ?        Ss   02:49   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30392  0.1  0.1  7056 2016 ?        S    02:50   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30394  0.2  0.6  9728 6536 ?        Ss   02:50   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30395  0.2  0.6  9432 6540 ?        Ss   02:50   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30396  0.1  0.1  5412 1992 ?        S    02:50   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30398  0.2  0.6  9708 6352 ?        Ss   02:51   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30399  0.2  0.6  9312 6356 ?        Ss   02:51   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30437  0.1  0.1  5476 2008 ?        S    02:51   0:00 smtpd -n smtp
-t inet -u -o stress 

postfix  30439  0.0  0.1  5792 1972 ?        S    02:51   0:00 smtpd -n smtp
-t inet -u -o stress 

nobody   30440  0.2  0.6  8804 6520 ?        Ss   02:51   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30441  0.3  0.6  9820 6556 ?        Ss   02:51   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30446  0.2  0.6  9172 6352 ?        Ss   02:51   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30449  0.3  0.6  9864 6528 ?        Ss   02:51   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

postfix  30520  0.0  0.1  3188 1160 ?        S    02:51   0:00 smtp -t unix
-u

nobody   30536  3.5  0.6  9088 6472 ?        Ss   02:53   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

nobody   30538  4.8  0.6  8024 6360 ?        Ss   02:53   0:00 /usr/bin/perl
/usr/sbin/smtpd-policy.pl

 

 

 

Reply via email to