List Info

Thread: How many processes & no responce on telnet port 25




How many processes & no responce on telnet port 25
user name
2006-12-21 15:26:26
>I installed the setting you suggested Monday night and
within a short while
>I was getting log timeouts when telneting to the server.
 I did read the
>artice
>
>http://www.ijs.si/software/amavisd/README.postfix.txt
>
>and there was included in the instructions a line to add
to the main.cf
>
>content_filter=smtp-amavis:[127.0.0.1]:10024
>
>I added the line and the timeouts seem to go down
temporarily but during 
>the
>day when traffic is up I was still getting timeouts same
or worse than I 
>was
>before.

You already overrode content_filter in master.cf, so it is
not needed to do 
so in main.cf. All adding this to main.cf will do is enable
scanning for the 
'pickup' service which is probably not desirable. Often when
people add the 
amavis content_filter to main.cf, they override the
content_filter for the 
pickup service. By overriding content_filter in master.cf,
you elimininate 
this step.

pickup    fifo  n       -       n       60      1      
pickup
   -o content_filter=

>
>Qshape deferred shows 0  and active shows 17 in the 5
min band
>
>Ps -e | grep -c smtpd
>77
>Ps -e | grep -c smtp
>107
>
>The timeouts seem worst when the smtp connections are
above 100
>
>I will post some log info

Start with:
egrep '(warning|error|fatal|panic):' /var/log/mail

And output from 'top'

>
>
>New master.cf
>
># service type  private unpriv  chroot  wakeup  maxproc
command + args
>#               (yes)   (yes)   (yes)   (never) (100)
># 
>========================================================
==================
>smtp      inet  n       -       n       -       200     
 smtpd -o
>content_filter=smtp-amavis:[127.0.0.1]:10024
>smtp-amavis unix -	-	n	-	20  	smtp
>     -o smtp_data_done_timeout=1200
>     -o smtp_send_xforward_command=yes
>     -o disable_dns_lookups=yes
>pickup    fifo  n       -       n       60      1      
pickup
>cleanup   unix  n       -       n       -       0      
cleanup
>qmgr      fifo  n       -       n       300     1      
qmgr
>rewrite   unix  -       -       n       -       -      
trivial-rewrite
>bounce    unix  -       -       n       -       0      
bounce
>defer     unix  -       -       n       -       0      
bounce
>trace     unix  -       -       n       -       0      
bounce
>verify    unix  -       -       n       -       1      
verify
>flush     unix  n       -       n       1000?   0      
flush
>proxymap  unix  -       -       n       -       -      
proxymap
>smtp      unix  -       -       n       -       -      
smtp
>showq     unix  n       -       n       -       -      
showq
>error     unix  -       -       n       -       -      
error
>discard   unix  -       -       n       -       -      
discard
>local     unix  -       n       n       -       -      
local
>virtual   unix  -       n       n       -       -      
virtual
>lmtp      unix  -       -       n       -       -      
lmtp
>anvil     unix  -       -       n       -       1      
anvil
>127.0.0.1:10025 inet	n	-	n	-	-	smtpd

Is there not whitespace between inet and n?

>	-o content_filter=
>  	-o smtpd_restriction_classes=
>     	-o smtpd_delay_reject=no
>     	-o
smtpd_client_restrictions=permit_mynetworks,reject
>     	-o smtpd_helo_restrictions=
>     	-o smtpd_sender_restrictions=
>     	-o
smtpd_recipient_restrictions=permit_mynetworks,reject
>     	-o
smtpd_data_restrictions=reject_unauth_pipelining
>     	-o smtpd_end_of_data_restrictions=
>     	-o mynetworks=127.0.0.0/8
>     	-o smtpd_error_sleep_time=0
>     	-o smtpd_soft_error_limit=1001
>     	-o smtpd_hard_error_limit=1000
>     	-o smtpd_client_connection_count_limit=0
>     	-o smtpd_client_connection_rate_limit=0
>     	-o smtpd_milters=
>     	-o local_header_rewrite_clients=
>     	-o local_recipient_maps=
>     	-o relay_recipient_maps=
>     	-o
>receive_override_options=no_header_body_checks,no_unknow
n_recipient_checks

Other than that, this looks Ok.

I'm not familiar enough with connection caching to know whey
this helped 
Simon, but at this point I don't think it will hurt to try
this in main.cf:

smtp_connection_cache_on_demand=no

Instead of 'postfix reload', I would do:
postfix stop
postfix start

Gary V

____________________________________________________________
_____
Experience the magic of the holidays. Talk to Santa on
Messenger. 
http://clk.atdmt.com/MSN/go/msn
nkwme0080000001msn/direct/01/?href=http://imagine-windowsliv
e.com/minisites/santabot/default.aspx?locale=en-us

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
How many processes & no responce on telnet port 25
user name
2006-12-21 15:31:11
> >127.0.0.1:10025 inet	n	-	n	-	-	smtpd
>
>Is there not whitespace between inet and n?

Sorry, it did not appear there was in my MUA, disregard.

Gary V

____________________________________________________________
_____
Your Hotmail address already works to sign into Windows Live
Messenger! Get 
it now 
http://c
lk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=ht
tp://get.live.com/messenger/overview

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
How many processes & no responce on telnet port 25
user name
2006-12-21 15:42:02
>From the egrep command this is repeated over and over.

Dec 21 05:28:18 gateway1 amavis[17485]: (17485-07-2) BAD
HEADER from
<smtpbaralin.com>: MIME error: error: part did not end
with expected
boundary
Dec 21 05:48:07 gateway1 amavis[18085]: (18085-02) WARN:
MIME::Parser error:
part did not end with expected boundary
Dec 21 05:48:07 gateway1 amavis[18085]: (18085-02) providing
full original
message to scanners as
/var/spool/amavis/tmp/amavis-20061221T054538-18085/parts/p00
4, MIME error:
error: part did not end with expected boundary
Dec 21 05:48:14 gateway1 amavis[18085]: (18085-02) BAD
HEADER from
<smtplarabin.com>: MIME error: error: part did not end
with expected
boundary
Dec 21 06:15:11 gateway1 amavis[18558]: (18558-06) WARN:
MIME::Parser error:
part did not end with expected boundary
Dec 21 06:15:11 gateway1 amavis[18558]: (18558-06) providing
full original
message to scanners as
/var/spool/amavis/tmp/amavis-20061221T060509-18558/parts/p00
4, MIME error:
error: part did not end with expected boundary
Dec 21 06:15:38 gateway1 amavis[18558]: (18558-06) BAD
HEADER from
<smtpbaralin.com>: MIME error: error: part did not end
with expected
boundary
Dec 21 06:31:31 gateway1 amavis[18926]: (18926-04) WARN:
MIME::Parser error:
part did not end with expected boundary
Dec 21 06:31:31 gateway1 amavis[18926]: (18926-04) providing
full original
message to scanners as
/var/spool/amavis/tmp/amavis-20061221T062355-18926/parts/p00
4, MIME error:
error: part did not end with expected boundary
Dec 21 06:31:45 gateway1 amavis[18926]: (18926-04) BAD
HEADER from
<smtplarabin.com>: MIME error: error: part did not end
with expected
boundary
Dec 21 06:38:54 gateway1 amavis[18790]: (18790-10) WARN:
MIME::Parser error:
part did not end with expected boundary
Dec 21 06:38:55 gateway1 amavis[18790]: (18790-10) providing
full original
message to scanners as
/var/spool/amavis/tmp/amavis-20061221T061443-18790/parts/p00
4, MIME error:
error: part did not end with expected boundary
Dec 21 06:38:58 gateway1 amavis[18790]: (18790-10) BAD
HEADER from
<smtplarabin.com>: MIME error: error: part did not end
with expected
boundary
Dec 21 06:59:08 gateway1 amavis[19296]: (19296-06) WARN:
MIME::Parser error:
part did not end with expected boundary
Dec 21 06:59:08 gateway1 amavis[19296]: (19296-06) providing
full original
message to scanners as
/var/spool/amavis/tmp/amavis-20061221T064347-19296/parts/p00
4, MIME error:
error: part did not end with expected boundary




-----Original Message-----
From: maia-users-bouncesrenaissoft.com
[mailto:maia-users-bouncesrenaissoft.com] On Behalf
Of Gary V
Sent: Thursday, December 21, 2006 9:26 AM
To: maia-usersrenaissoft.com
Subject: Re: [Maia-users] How many processes & no
responce on telnet port 25

>I installed the setting you suggested Monday night and
within a short while
>I was getting log timeouts when telneting to the server.
 I did read the
>artice
>
>http://www.ijs.si/software/amavisd/README.postfix.txt
>
>and there was included in the instructions a line to add
to the main.cf
>
>content_filter=smtp-amavis:[127.0.0.1]:10024
>
>I added the line and the timeouts seem to go down
temporarily but during 
>the
>day when traffic is up I was still getting timeouts same
or worse than I 
>was
>before.

You already overrode content_filter in master.cf, so it is
not needed to do 
so in main.cf. All adding this to main.cf will do is enable
scanning for the

'pickup' service which is probably not desirable. Often when
people add the 
amavis content_filter to main.cf, they override the
content_filter for the 
pickup service. By overriding content_filter in master.cf,
you elimininate 
this step.

pickup    fifo  n       -       n       60      1      
pickup
   -o content_filter=

>
>Qshape deferred shows 0  and active shows 17 in the 5
min band
>
>Ps -e | grep -c smtpd
>77
>Ps -e | grep -c smtp
>107
>
>The timeouts seem worst when the smtp connections are
above 100
>
>I will post some log info

Start with:
egrep '(warning|error|fatal|panic):' /var/log/mail

And output from 'top'

>
>
>New master.cf
>
># service type  private unpriv  chroot  wakeup  maxproc
command + args
>#               (yes)   (yes)   (yes)   (never) (100)
># 
>========================================================
==================
>smtp      inet  n       -       n       -       200     
 smtpd -o
>content_filter=smtp-amavis:[127.0.0.1]:10024
>smtp-amavis unix -	-	n	-	20  	smtp
>     -o smtp_data_done_timeout=1200
>     -o smtp_send_xforward_command=yes
>     -o disable_dns_lookups=yes
>pickup    fifo  n       -       n       60      1      
pickup
>cleanup   unix  n       -       n       -       0      
cleanup
>qmgr      fifo  n       -       n       300     1      
qmgr
>rewrite   unix  -       -       n       -       -      
trivial-rewrite
>bounce    unix  -       -       n       -       0      
bounce
>defer     unix  -       -       n       -       0      
bounce
>trace     unix  -       -       n       -       0      
bounce
>verify    unix  -       -       n       -       1      
verify
>flush     unix  n       -       n       1000?   0      
flush
>proxymap  unix  -       -       n       -       -      
proxymap
>smtp      unix  -       -       n       -       -      
smtp
>showq     unix  n       -       n       -       -      
showq
>error     unix  -       -       n       -       -      
error
>discard   unix  -       -       n       -       -      
discard
>local     unix  -       n       n       -       -      
local
>virtual   unix  -       n       n       -       -      
virtual
>lmtp      unix  -       -       n       -       -      
lmtp
>anvil     unix  -       -       n       -       1      
anvil
>127.0.0.1:10025 inet	n	-	n	-	-	smtpd

Is there not whitespace between inet and n?

>	-o content_filter=
>  	-o smtpd_restriction_classes=
>     	-o smtpd_delay_reject=no
>     	-o
smtpd_client_restrictions=permit_mynetworks,reject
>     	-o smtpd_helo_restrictions=
>     	-o smtpd_sender_restrictions=
>     	-o
smtpd_recipient_restrictions=permit_mynetworks,reject
>     	-o
smtpd_data_restrictions=reject_unauth_pipelining
>     	-o smtpd_end_of_data_restrictions=
>     	-o mynetworks=127.0.0.0/8
>     	-o smtpd_error_sleep_time=0
>     	-o smtpd_soft_error_limit=1001
>     	-o smtpd_hard_error_limit=1000
>     	-o smtpd_client_connection_count_limit=0
>     	-o smtpd_client_connection_rate_limit=0
>     	-o smtpd_milters=
>     	-o local_header_rewrite_clients=
>     	-o local_recipient_maps=
>     	-o relay_recipient_maps=
>     	-o
>receive_override_options=no_header_body_checks,no_unknow
n_recipient_checks

Other than that, this looks Ok.

I'm not familiar enough with connection caching to know whey
this helped 
Simon, but at this point I don't think it will hurt to try
this in main.cf:

smtp_connection_cache_on_demand=no

Instead of 'postfix reload', I would do:
postfix stop
postfix start

Gary V

____________________________________________________________
_____
Experience the magic of the holidays. Talk to Santa on
Messenger. 
http://clk.atdmt.com/MSN/go/msnnkwme
0080000001msn/direct/01/?href=http://ima
gine-windowslive.com/minisites/santabot/default.aspx?locale=
en-us

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

---
[This E-mail scanned for viruses by Declude EVA]


_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
How many processes & no responce on telnet port 25
user name
2006-12-21 15:42:47
top - 09:09:34 up 2 days, 12:59,  5 users,  load average:
3.60, 2.65, 2.25
Tasks: 228 total,   2 running, 226 sleeping,   0 stopped,  
0 zombie
Cpu(s): 60.8%us,  8.4%sy,  0.0%ni, 14.6%id, 12.6%wa, 
0.0%hi,  3.6%si,
0.0%st
Mem:   2068124k total,  1925684k used,   142440k free,   
40744k buffers
Swap:  1558264k total,      108k used,  1558156k free,  
336532k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ 
COMMAND
 2768 mysql     15   0  586m 451m 4668 S  9.0 22.4  72:55.20
mysqld
 3965 root      15   0 22012  10m 8784 S  9.0  0.5  40:31.97
vino-server
 3024 root      15   0  151m  16m  10m S  8.1  0.8  18:34.22
X
23316 vscan     16   0 87184  79m 3188 S  6.5  3.9   0:03.67
amavisd
23177 vscan     15   0 82052  74m 3168 S  6.1  3.7   0:01.36
amavisd
23146 vscan     17   0 84492  76m 3224 S  5.2  3.8   0:04.59
amavisd
23214 vscan     17   0 84176  76m 3184 S  4.5  3.8   0:02.57
amavisd
23301 vscan     15   0 86196  78m 3196 S  3.6  3.9   0:02.76
amavisd
23120 vscan     16   0 84652  77m 3240 S  2.9  3.8   0:04.84
amavisd
23132 vscan     16   0 85828  78m 3228 S  2.6  3.9   0:04.92
amavisd
 2661 vscan     16   0 72372  35m 1472 S  1.6  1.8  23:33.27
clamd
 1971 root      15   0  1900  796  588 S  1.0  0.0   4:36.40
syslog-ng
 4044 vscan     16   0 17524  14m 2776 S  1.0  0.7  17:49.58
postgrey
23199 postfix   15   0  5356 2324 1836 S  0.6  0.1   0:00.14
smtpd
22924 postfix   15   0  5208 2220 1724 S  0.3  0.1   0:00.35
qmgr
23114 vscan     15   0 85356  77m 3240 S  0.3  3.8   0:05.98
amavisd
23220 postfix   15   0  5396 2472 1924 S  0.3  0.1   0:00.06
smtpd



-----Original Message-----
From: maia-users-bouncesrenaissoft.com
[mailto:maia-users-bouncesrenaissoft.com] On Behalf
Of Gary V
Sent: Thursday, December 21, 2006 9:26 AM
To: maia-usersrenaissoft.com
Subject: Re: [Maia-users] How many processes & no
responce on telnet port 25

>I installed the setting you suggested Monday night and
within a short while
>I was getting log timeouts when telneting to the server.
 I did read the
>artice
>
>http://www.ijs.si/software/amavisd/README.postfix.txt
>
>and there was included in the instructions a line to add
to the main.cf
>
>content_filter=smtp-amavis:[127.0.0.1]:10024
>
>I added the line and the timeouts seem to go down
temporarily but during 
>the
>day when traffic is up I was still getting timeouts same
or worse than I 
>was
>before.

You already overrode content_filter in master.cf, so it is
not needed to do 
so in main.cf. All adding this to main.cf will do is enable
scanning for the

'pickup' service which is probably not desirable. Often when
people add the 
amavis content_filter to main.cf, they override the
content_filter for the 
pickup service. By overriding content_filter in master.cf,
you elimininate 
this step.

pickup    fifo  n       -       n       60      1      
pickup
   -o content_filter=

>
>Qshape deferred shows 0  and active shows 17 in the 5
min band
>
>Ps -e | grep -c smtpd
>77
>Ps -e | grep -c smtp
>107
>
>The timeouts seem worst when the smtp connections are
above 100
>
>I will post some log info

Start with:
egrep '(warning|error|fatal|panic):' /var/log/mail

And output from 'top'

>
>
>New master.cf
>
># service type  private unpriv  chroot  wakeup  maxproc
command + args
>#               (yes)   (yes)   (yes)   (never) (100)
># 
>========================================================
==================
>smtp      inet  n       -       n       -       200     
 smtpd -o
>content_filter=smtp-amavis:[127.0.0.1]:10024
>smtp-amavis unix -	-	n	-	20  	smtp
>     -o smtp_data_done_timeout=1200
>     -o smtp_send_xforward_command=yes
>     -o disable_dns_lookups=yes
>pickup    fifo  n       -       n       60      1      
pickup
>cleanup   unix  n       -       n       -       0      
cleanup
>qmgr      fifo  n       -       n       300     1      
qmgr
>rewrite   unix  -       -       n       -       -      
trivial-rewrite
>bounce    unix  -       -       n       -       0      
bounce
>defer     unix  -       -       n       -       0      
bounce
>trace     unix  -       -       n       -       0      
bounce
>verify    unix  -       -       n       -       1      
verify
>flush     unix  n       -       n       1000?   0      
flush
>proxymap  unix  -       -       n       -       -      
proxymap
>smtp      unix  -       -       n       -       -      
smtp
>showq     unix  n       -       n       -       -      
showq
>error     unix  -       -       n       -       -      
error
>discard   unix  -       -       n       -       -      
discard
>local     unix  -       n       n       -       -      
local
>virtual   unix  -       n       n       -       -      
virtual
>lmtp      unix  -       -       n       -       -      
lmtp
>anvil     unix  -       -       n       -       1      
anvil
>127.0.0.1:10025 inet	n	-	n	-	-	smtpd

Is there not whitespace between inet and n?

>	-o content_filter=
>  	-o smtpd_restriction_classes=
>     	-o smtpd_delay_reject=no
>     	-o
smtpd_client_restrictions=permit_mynetworks,reject
>     	-o smtpd_helo_restrictions=
>     	-o smtpd_sender_restrictions=
>     	-o
smtpd_recipient_restrictions=permit_mynetworks,reject
>     	-o
smtpd_data_restrictions=reject_unauth_pipelining
>     	-o smtpd_end_of_data_restrictions=
>     	-o mynetworks=127.0.0.0/8
>     	-o smtpd_error_sleep_time=0
>     	-o smtpd_soft_error_limit=1001
>     	-o smtpd_hard_error_limit=1000
>     	-o smtpd_client_connection_count_limit=0
>     	-o smtpd_client_connection_rate_limit=0
>     	-o smtpd_milters=
>     	-o local_header_rewrite_clients=
>     	-o local_recipient_maps=
>     	-o relay_recipient_maps=
>     	-o
>receive_override_options=no_header_body_checks,no_unknow
n_recipient_checks

Other than that, this looks Ok.

I'm not familiar enough with connection caching to know whey
this helped 
Simon, but at this point I don't think it will hurt to try
this in main.cf:

smtp_connection_cache_on_demand=no

Instead of 'postfix reload', I would do:
postfix stop
postfix start

Gary V

____________________________________________________________
_____
Experience the magic of the holidays. Talk to Santa on
Messenger. 
http://clk.atdmt.com/MSN/go/msnnkwme
0080000001msn/direct/01/?href=http://ima
gine-windowslive.com/minisites/santabot/default.aspx?locale=
en-us

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

---
[This E-mail scanned for viruses by Declude EVA]


_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )