Hello list
I am using amavisd-new ( amavisd-new-2.6.4 (20090625) ) with postfix (
latest ) over FreeBSD 8.0
Also Bind DNS and Squid.
The hardware is pretty new, 2 Gb RAM, Quad Core.
When the system is less loaded, about 10 msg/minute, no problem like
secondary MX.
But as soon as getting heavy loaded, say 100/150 msg/minute - moving it
to 1st MX- it sometimes freezes, and after a few minutes come back
alone, and some ohter times, needs a reset.
Tried to shut down Squid and Bind, no help.
CPU is no more than 30% ( usually 75% Idle ):
fobos[/usr/home/soporte]# top
last pid: 30279; load averages: 4.07, 3.99,
3.30 up 14+21:19:27 13:04:14
105 processes: 4 running, 101 sleeping
CPU: 0.1% user, 0.0% nice, 24.9% system, 0.0% interrupt, 75.0% idle
Mem: 543M Active, 666M Inact, 218M Wired, 28M Cache, 112M Buf, 509M Free
Swap: 10G Total, 10G Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
641 bind 7 44 0 181M 148M kqread 1 94:31 0.00% named
867 root 1 44 0 23616K 18852K select 1 61:48 0.00% snmpd
4075 squid 1 44 0 35228K 26840K kqread 3 38:31 0.00% squid
764 root 1 44 0 7028K 4244K nanslp 1 10:56 0.00% perl5.8.9
573 root 1 44 0 3344K 1108K select 1 7:23 0.00% syslogd
875 postgrey 1 44 0 15716K 11836K select 0 6:08 0.00% perl5.8.9
898 clamav 2 44 0 110M 105M select 0 2:21 0.00% clamd
1082 root 1 44 0 3484K 1392K kqread 0 1:32 0.00% master
4076 squid 1 44 0 2656K 1220K piperd 1 0:21 0.00% unlinkd
90826 postfix 1 44 0 4508K 2804K kqread 0 0:20 0.00% qmgr
90830 postfix 1 44 0 4508K 2104K kqread 1 0:17 0.00% anvil
29528 vscan 1 101 0 85256K 77332K RUN 2 0:17 0.00% perl
28943 vscan 1 60 0 88328K 80456K RUN 2 0:14 0.00% perl
839 root 1 44 0 14356K 11068K select 3 0:10 0.00% perl5.8.9
30060 vscan 1 54 0 88328K 81436K lockf 0 0:08 0.00% perl
90908 vscan 1 44 0 72336K 64812K select 0 0:06 0.00% perl
29026 vscan 1 53 0 86280K 77580K RUN 2 0:05 0.00% perl
28932 vscan 1 56 0 87304K 77992K flushb 3 0:05 0.00% perl
984 root 1 76 0 3404K 1240K select 3 0:03 0.00% inetd
I used amavisd-nanny, and got this:
fobos[/usr/home/soporte]# amavisd-nanny
process-id task-id elapsed in elapsed-bar (dots indicate idle)
or state idle or busy
PID 28932: . 0:27:57 .........:.........:.........:.....
PID 28943: 28943-12-12 terminated 0:13:33
=========:=========:=========:===d>
PID 29026: 29026-10 terminated 0:27:51
=========:=========:=========:===d>
PID 29528: 29528-01-24 terminated 0:12:46
=========:=========:=========:===F>
PID 30121: 0:00:22 .........:.........:..
PID 30348: 0:00:21 .........:.........:.
PID 28943: sending SIGKILL in 29 s
PID 29026: sending SIGKILL in 29 s
PID 29528: sending SIGKILL in 29 s
Waiting for the process to terminate: 28943, 29026, 29528
PID 28943: sending SIGKILL in 28 s
PID 29026: sending SIGKILL in 28 s
PID 29528: sending SIGKILL in 28 s
Waiting for the process to terminate: 28943, 29026, 29528
^C
exited
fobos[/usr/home/soporte]#
fobos[/usr/home/soporte]# truss -p 29026
^C <<<<<<<<<< After 30 seconds, CTRL-C
fobos[/usr/home/soporte]#
At the freeze time, the login prompt is fast as usual, but the prompt
for password takes more than 2 minutes, if cames!
The logs shows nothing but this:
Apr 15 10:34:55 fobos postfix/smtpd[25919]: timeout after END-OF-MESSAGE
from localhost[127.0.0.1]
Apr 15 10:34:57 fobos postfix/smtpd[25777]: timeout after END-OF-MESSAGE
from localhost[127.0.0.1]
Apr 15 10:34:58 fobos postfix/smtpd[26055]: timeout after END-OF-MESSAGE
from localhost[127.0.0.1]
Apr 15 10:39:00 fobos postfix/smtpd[25963]: timeout after RSET from
mail.police.gov.bd[203.188.249.4]
Apr 15 10:39:03 fobos postfix/smtpd[26126]: timeout after END-OF-MESSAGE
from localhost[127.0.0.1]
Apr 15 10:47:24 fobos postfix/smtpd[26236]: timeout after END-OF-MESSAGE
from localhost[127.0.0.1]
Apr 15 10:48:54 fobos postfix/smtpd[26238]: timeout after RSET from
mail.police.gov.bd[203.188.249.4]
Apr 15 10:49:52 fobos postfix/smtpd[26267]: timeout after END-OF-MESSAGE
from localhost[127.0.0.1]
Apr 15 11:08:51 fobos postfix/smtpd[26601]: timeout after END-OF-MESSAGE
from localhost[127.0.0.1]
Apr 15 11:11:15 fobos postfix/smtpd[26651]: timeout after RSET from
mail.derbynet.net[216.24.112.20]
Apr 15 11:21:15 fobos postfix/smtpd[26784]: timeout after RSET from
mail.derbynet.net[216.24.112.20]
And regarding the 29026 process:
fobos [/var/log]# grep 29026 /var/log/maillog
Apr 15 12:31:30 fobos amavis[29026]: (29026-01) Passed SPAMMY,
[201.252.227.11] [200.80.34.90] <[email protected]> ->
<[email protected]>, Message-ID:
<[email protected]>, mail_id:
vfg+SNhqXbYi, Hits: 8.595, size: 10144, queued_as: 732D211407C, 2005 ms
Apr 15 12:31:39 fobos amavis[29026]: (29026-02) Passed CLEAN,
[201.252.227.11] [201.251.21.18] <[email protected]> ->
<[email protected]>, Message-ID:
<333cc216ddb9482cb0f89b7ea6eee...@factu>, mail_id: wTkRrraPNAin, Hits:
2.98, size: 1173729, queued_as: E6DB7114095, 2399 ms
Apr 15 12:33:49 fobos amavis[29026]: (29026-03) Passed CLEAN,
[201.252.227.11] [201.252.227.11] <> ->
<[email protected]>, Message-ID:
<[email protected]>, mail_id: djMg1TKJDAjs, Hits:
1.63, size: 2742, queued_as: BA6D0114090, 3480 ms
Apr 15 12:34:05 fobos amavis[29026]: (29026-04) Passed SPAMMY,
[186.137.146.213] [186.137.146.213] <[email protected]> ->
<[email protected]>, mail_id: EmO-EAd2RYIJ, Hits: 6.52, size: 7542,
queued_as: 3755B1140A1, 138 ms
Apr 15 12:35:18 fobos amavis[29026]: (29026-05) Passed CLEAN,
[201.252.227.11] [201.252.227.11] <> -> <[email protected]>,
Message-ID: <[email protected]>, mail_id:
gTEkXEwIaQwj, Hits: 1.629, size: 2702, queued_as: 87288114084, 1863 ms
Apr 15 12:35:56 fobos amavis[29026]: (29026-06) Passed SPAMMY,
[201.252.227.11] [190.136.2.231] <[email protected]> ->
<[email protected]>, Message-ID:
<005401cadcb1$3d9641e0$6501a...@silvia>, mail_id: 9GRo2G2aHnLY, Hits:
6.494, size: 2305, queued_as: A708511408B, 1695 ms
Apr 15 12:36:48 fobos amavis[29026]: (29026-07) Passed CLEAN,
[201.252.227.11] [190.136.1.74] <[email protected]> ->
<[email protected]>, Message-ID:
<000f01cadcb1$6feb63a0$0201a...@juano>, mail_id: uqWXEBBAyPsp, Hits:
2.495, size: 9833, queued_as: 97F3E11405D, 1680 ms
Apr 15 12:37:53 fobos amavis[29026]: (29026-08) Passed CLEAN,
[201.252.227.11] [201.251.40.210] <[email protected]> ->
<[email protected]>,<[email protected]>,<[email protected]>,
Message-ID: <d04114c1c5fe4d4bbb8a180baa9e8...@7pesos>, mail_id:
nx+hoWx0Mf8H, Hits: 2.495, size: 7502964, queued_as: 417FE11407C, 3737 ms
Apr 15 12:38:52 fobos amavis[29026]: (29026-09) Passed CLEAN,
[201.252.227.11] [190.136.0.237] <[email protected]> ->
<[email protected]>,<[email protected]>,<[email protected]>,<[email protected]>,<[email protected]>,
Message-ID: <4a34280b9e694d929c28bcd73db11...@recepcion2>, mail_id:
9f7tfdNnqUrp, Hits: 4.685, size: 9378546, queued_as: 2D9D4114090, 6202 ms
Still now, when I commented the line in Postifx to call the amavisd, the
process 29026 is hang around ( as others )
Can someone point me a solution??
Regards
Andres.-
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/