procmail
[Top] [All Lists]

procmail slow!

1999-10-25 05:44:50
HI!

Take alook our mail server log:

In queue:
MAA14431*   25488 Mon Oct 25 12:54 
<marjota(_dot_)raisanen(_at_)domain(_dot_)com>
      8BITMIME
                                   orasl1
                                   lindrooski
                                   juuso(_at_)ouside(_dot_)com
                                   \lindbladto
                                   nurminente 
                                   huttunenj
                                   sydanmaama
                                   sonninenha
                                   salmija
                                   salinja
                                   rasanente
                                   paalanenta
                                   nurmima
                                   tahvanainenma


 and in maillog:

[root(_at_)mailserver log]# cat maillog|grep MAA14431
Oct 25 12:54:34 linux1 sendmail[14431]: MAA14431:
from=<marjota(_dot_)raisanena(_at_)domain(_dot_)com>, size=25833, class=0, 
pri=55833,
nrcpts=1, 
msgid=<3(_dot_)0(_dot_)1(_dot_)32(_dot_)19991025125733(_dot_)00966370(_at_)domain(_dot_)com>,
bodytype=8BITMIME, proto=SMTP, relay=[172.16.30.117]
Oct 25 13:10:45 linux1 sendmail[14447]: MAA14431: to=orasl1,
delay=00:16:12, xdelay=00:00:56, mailer=local, stat=Sent
Oct 25 13:11:41 linux1 sendmail[14447]: MAA14431: to=lindrooski,
delay=00:17:08, xdelay=00:00:56, mailer=local, stat=Sent
Oct 25 13:11:41 linux1 sendmail[14447]: MAA14431: 
to=juuso(_at_)ouside(_dot_)com,
delay=00:17:08, xdelay=00:00:00, mailer=relay, relay=gw.mtv3.fi.
[172.17.1.254], stat=Sent (Mail accepted)
Oct 25 13:12:37 linux1 sendmail[14447]: MAA14431: to=\lindbladto,
delay=00:18:04, xdelay=00:00:56, mailer=local, stat=Sent


[root(_at_)mailserver log]# cat maillog|grep MAA14431
Oct 25 12:54:34 linux1 sendmail[14431]: MAA14431:
from=<marjota(_dot_)raisanen(_at_)domain(_dot_)com>, size=25833, class=0, 
pri=55833,
nrcpts=1, 
msgid=<3(_dot_)0(_dot_)1(_dot_)32(_dot_)19991025125733(_dot_)00966370(_at_)mtv3(_dot_)fi>,
bodytype=8BITMIME, proto=SMTP, relay=[172.16.30.117]
Oct 25 13:10:45 linux1 sendmail[14447]: MAA14431: to=orasl1,
delay=00:16:12, xdelay=00:00:56, mailer=local, stat=Sent
Oct 25 13:11:41 linux1 sendmail[14447]: MAA14431: to=lindrooski,
delay=00:17:08, xdelay=00:00:56, mailer=local, stat=Sent
Oct 25 13:11:41 linux1 sendmail[14447]: MAA14431: 
to=juuso(_at_)ouside(_dot_)com,
delay=00:17:08, xdelay=00:00:00, mailer=relay, relay=gw.mtv3.fi.
[172.17.1.254], stat=Sent (Mail accepted)
Oct 25 13:12:37 linux1 sendmail[14447]: MAA14431: to=\lindbladto,
delay=00:18:04, xdelay=00:00:56, mailer=local, stat=Sent
Oct 25 13:13:34 linux1 sendmail[14447]: MAA14431: to=nurminente,
delay=00:19:01, xdelay=00:00:57, mailer=local, stat=Sent
Oct 25 13:14:30 linux1 sendmail[14447]: MAA14431: to=huttunenja,
delay=00:19:57, xdelay=00:00:56, mailer=local, stat=Sent
Oct 25 13:15:26 linux1 sendmail[14447]: MAA14431: to=sydanmaama,
delay=00:20:53, xdelay=00:00:56, mailer=local, stat=Sent
Oct 25 13:16:22 linux1 sendmail[14447]: MAA14431: to=sonninenha,
delay=00:21:49, xdelay=00:00:56, mailer=local, stat=Sent


Only one message /minute?


[root(_at_)mailserver log]# vmstat 2 5
 procs                  memory    swap        io    system         cpu
 r b w  swpd  free  buff cache  si  so   bi   bo   in   cs  us  sy  id
 0 1 0   336 17844 130844 64500   0   0   16   20   70   56   1   4  22
 0 0 0   336 17828 130844 64500   0   0    3   11  200  135   4  10  86
 1 0 0   336 13676 130972 68404   0   0    1   25  168  102  14  17  69
 0 0 0   336  9804 130972 72208   0   0    0    0  174   57   6  10  84
 0 0 0   336 10120 131036 72200   0   0    1   20  236   95   1   5  93




Processes:

16137  ?  S    0:00 sendmail: NAA16135: from queue             
16301  ?  S    0:00 sendmail: NAA16300: from queue             
16307  ?  S    0:00 sendmail: NAA16306: from queue             
16330  ?  S    0:00 sendmail: NAA16329: from queue             
16336  ?  S    0:00 sendmail: NAA16334: from queue             
16340  ?  S    0:00 sendmail: NAA16339: from queue             
16355  ?  S    0:00 sendmail: NAA16353: from queue             
16361  ?  S    0:00 popper -s -b /var/spool/bulls 
16383  ?  S    0:00 sendmail: NAA16382: from queue             
16387  ?  S    0:00 sendmail: NAA16386: from queue             
16389  p0 R    0:00 ps a-x 
29910  ?  S    0:02 /own/sbin/sshd 
29912  p0 S    0:01 -bash 
  255  ?  S    0:00 portmap 
  407  ?  S    0:16 /usr/lib/news/bin/actived 
10982  ?  S    0:00 /own/apache/bin/httpd 
13104  ?  S    0:00 /own/apache/bin/httpd 
15304  ?  S    0:00 /own/apache/bin/httpd 
15418  ?  S    0:00 /own/apache/bin/httpd 
15476  ?  S    0:00 /own/apache/bin/httpd 
15504  ?  S    0:00 /own/apache/bin/httpd 
15820  ?  S    0:00 /own/apache/bin/httpd 
28565  ?  S    0:00 /own/apache/bin/httpd 
31019  ?  S    0:03 imapd 
16351  ?  S    0:00 procmail -f merja(_at_)domain(_dot_)com -Y -a  -d 
hartonevama
30677  ?  S    0:01 imapd 
16357  ?  S    0:00 popper -s -b /var/spool/bulls 
16302  ?  S    0:00 procmail -f arjat(_dot_)rasanena(_at_)domain(_dot_)com -Y 
-a  -d malmioha 
16331  ?  S    0:00 procmail -f kall(_dot_)toris(_at_)domain(_dot_)com -Y -a  
-d salorantak 
16341  ?  S    0:00 procmail -f artta(_dot_)rai(_at_)domain(_dot_)com -Y -a  -d 
elomaam 
12828  ?  S    0:00 imapd 
16344  ?  S    0:00 procmail -f riku(_dot_)pohjai(_at_)domain(_dot_)com -Y -a  
-d suominena 
16308  ?  S    0:00 procmail -f radio(_at_)domain(_dot_)com -Y -a  -d onair 
16356  ?  S    0:00 procmail -f arjaa(_dot_)rasanena(_at_)domain(_dot_)com -Y 
-a  -d pehkonena 
16380  ?  S    0:00 procmail -f virpia(_dot_)nikkolai(_at_)domain(_dot_)com -Y 
-a  -d ounappi 
16388  ?  S    0:00 procmail -f arjat(_dot_)rasanena(_at_)domain(_dot_)com -Y 
-a  -d pajulara 
16337  ?  S    0:00 procmail -f riia(_dot_)peltolai(_at_)mtv3(_dot_)fi -Y -a  
-d rasanena 
16376  ?  S    0:00 procmail -f marjotta(_dot_)raisanena(_at_)mtv3(_dot_)fi -Y 
-a  -d nurmina 
15403  ?  S    0:00 imapd 



If I send one e-mail, it will take less than 1 second but I will use
some mail lists in /etc/aliases - mail delivery will take 60 - 240 minutes!


I think the problem is the procmail but how to find and correct it?

If you have any ideas to help me, please send a mail!

Server: Redhat, kernel 2.0.36
sendmail: 8.8.7
procmail: v3.10


R. Ari 

<Prev in Thread] Current Thread [Next in Thread>