I installed qmail with LDAP patch on a mandrake 9.0.
I use qmail-scanner 1.15, my perl revision is perl-5.8.0, my antivirus is clamscan and spamassassin is 2.43.
after some hours of works my top output is:
11:25pm up 9:16, 1 user, load average: 16.21, 15.84, 15.62
137 processes: 119 sleeping, 18 running, 0 zombie, 0 stopped
CPU states: 94.8% user, 5.1% system, 0.0% nice, 0.0% idle
Mem: 248432K av, 212644K used, 35788K free, 0K shrd, 51064K buff
Swap: 610428K av, 42348K used, 568080K free 24160K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
13227 nobody 14 0 13608 8144 4096 R 6.1 3.2 34:28 spamd
20145 nobody 14 0 13968 8472 4240 R 6.1 3.4 11:24 spamd
26742 nobody 14 0 15296 9128 4112 R 6.1 3.6 0:06 spamd
2715 nobody 14 0 15292 60 24 R 5.9 0.0 142:39 spamd
6303 nobody 14 0 12420 56 24 R 5.9 0.0 78:06 spamd
7050 nobody 14 0 15288 56 24 R 5.9 0.0 70:00 spamd
9744 nobody 14 0 12424 56 24 R 5.9 0.0 48:25 spamd
10330 nobody 14 0 16768 11M 4088 R 5.9 4.5 44:22 spamd
15042 nobody 14 0 16768 11M 4088 R 5.9 4.5 29:25 spamd
17697 nobody 14 0 13896 8256 4064 R 5.9 3.3 20:14 spamd
18230 nobody 14 0 16768 11M 4088 R 5.9 4.5 18:11 spamd
18949 nobody 14 0 13608 8148 4096 R 5.9 3.2 15:29 spamd
21007 nobody 14 0 16836 11M 4260 R 5.9 4.6 9:56 spamd
23975 nobody 14 0 13968 8472 4240 R 5.9 3.4 4:34 spamd
24694 nobody 14 0 16836 11M 4260 R 5.9 4.6 3:20 spamd
26807 qmailq 11 0 4904 4904 2048 S 1.1 1.9 0:00 perl5.8.0
26817 nobody 14 0 12936 5864 3136 R 1.1 2.3 0:00 spamd
24951 root 12 0 1100 1100 816 R 0.7 0.4 0:17 top
7 root 9 0 0 0 0 SW 0.3 0.0 2:26 kupdated
2114 root 12 0 12324 1888 1152 S 0.1 0.7 0:06 spamd
my system has a p4 2.4 ghz cpu
observing ps -aux I can find
qmailq 9742 0.0 0.0 2188 4 ? S 16:43 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444597qmailq 9743 0.0 0.0 1840 4 ? S 16:43 0:00 /usr/bin/spamc -c -f
nobody 9744 12.0 0.0 15800 56 ? R 16:43 48:25 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 10328 0.0 0.4 2188 1056 ? S 17:00 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444607qmailq 10329 0.0 0.2 1840 516 ? S 17:00 0:00 /usr/bin/spamc -c -f
nobody 10330 11.5 4.5 18640 11292 ? R 17:00 44:22 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 13225 0.0 0.4 2188 1056 ? S 17:51 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444639qmailq 13226 0.0 0.2 1840 504 ? S 17:51 0:00 /usr/bin/spamc -c -f
nobody 13227 10.3 3.2 15480 8144 ? R 17:51 34:28 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 15040 0.0 0.4 2188 1056 ? S 18:23 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444657qmailq 15041 0.0 0.2 1840 516 ? S 18:23 0:00 /usr/bin/spamc -c -f
nobody 15042 9.7 4.5 18640 11292 ? R 18:23 29:25 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 17695 0.0 0.4 2188 1056 ? S 19:30 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444697qmailq 17696 0.0 0.2 1840 508 ? S 19:30 0:00 /usr/bin/spamc -c -f
nobody 17697 8.5 3.3 15800 8256 ? R 19:30 20:15 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 18228 0.0 0.4 2188 1056 ? S 19:46 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444707qmailq 18229 0.0 0.2 1840 516 ? S 19:46 0:00 /usr/bin/spamc -c -f
nobody 18230 8.3 4.5 18640 11292 ? R 19:46 18:12 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 18947 0.0 0.4 2188 1056 ? S 20:11 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444723qmailq 18948 0.0 0.2 1840 504 ? S 20:11 0:00 /usr/bin/spamc -c -f
nobody 18949 7.9 3.2 15480 8148 ? R 20:11 15:29 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 20143 0.0 0.4 2188 1056 ? S 20:53 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444747qmailq 20144 0.0 0.2 1840 508 ? S 20:53 0:00 /usr/bin/spamc -c -f
nobody 20145 7.5 3.4 15800 8472 ? R 20:53 11:24 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 21005 0.0 0.4 2188 1056 ? S 21:10 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444757qmailq 21006 0.0 0.2 1840 516 ? S 21:10 0:00 /usr/bin/spamc -c -f
nobody 21007 7.3 4.6 18640 11496 ? R 21:10 9:57 /usr/bin/perl /usr/bin/spamd -x -L
root 21662 0.0 0.6 6076 1660 ? S 21:25 0:00 /usr/sbin/sshd
alberto 21684 0.0 0.7 6224 1904 ? S 21:25 0:01 /usr/sbin/sshd
alberto 21691 0.0 0.6 2712 1604 pts/0 S 21:25 0:00 -bash
root 21727 0.0 0.4 2264 996 pts/0 S 21:25 0:00 su -
root 21731 0.0 0.6 2716 1616 pts/0 S 21:25 0:00 -bash
qmailq 23973 0.0 0.4 2188 1056 ? S 22:16 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444798qmailq 23974 0.0 0.2 1840 508 ? S 22:16 0:00 /usr/bin/spamc -c -f
nobody 23975 6.6 3.4 15800 8472 ? R 22:16 4:34 /usr/bin/perl /usr/bin/spamd -x -L
qmailq 24692 0.0 0.4 2188 1056 ? S 22:33 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444807qmailq 24693 0.0 0.2 1840 516 ? S 22:33 0:00 /usr/bin/spamc -c -f
nobody 24694 6.4 4.6 18640 11496 ? R 22:33 3:20 /usr/bin/perl /usr/bin/spamd -x -L
qmaild 26421 0.0 0.1 1356 344 ? S 23:17 0:00 /var/qmail/bin/qmail-smtpd
qmailq 26422 0.0 1.8 6704 4592 ? S 23:17 0:00 /usr/bin/suidperl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qmaild 26423 0.0 0.1 1356 340 ? S 23:17 0:00 /var/qmail/bin/qmail-smtpd
qmaild 26735 0.0 0.1 1356 340 ? S 23:23 0:00 /var/qmail/bin/qmail-smtpd
qmailq 26736 0.1 1.9 6728 4904 ? S 23:23 0:00 /usr/bin/suidperl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qmailq 26740 0.0 0.4 2188 1056 ? S 23:23 0:00 sh -c /usr/bin/spamc -c -f < /var/spool/qmailscan/working/new/wildcat.byworks.com10444838qmailq 26741 0.0 0.2 1840 612 ? S 23:23 0:00 /usr/bin/spamc -c -f
nobody 26742 6.1 3.6 17120 9140 ? R 23:23 0:06 /usr/bin/perl /usr/bin/spamd -x -L
qmailr 26819 0.4 0.1 1344 452 ? S 23:25 0:00 qmail-remote tiscali.it [EMAIL PROTECTED]
root 26822 0.0 0.4 3796 1092 ? S 23:25 0:00 qmail-lspawn ./Maildir/
as you can see there are a lot of spam apparently processed files.
Really as you can see:
[root@wildcat root]# ls -al /var/spool/qmailscan/working/new/
total 119
drwxrwx--- 2 qmailq qmail 2344 Feb 5 23:28 ./
drwxrwx--- 5 qmailq qmail 120 Jan 4 14:54 ../
-rw------- 1 qmailq nofiles 0 Feb 5 00:41 wildcat.byworks.com104440209242412133.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 01:04 wildcat.byworks.com104440347642412541.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 02:05 wildcat.byworks.com104440709342414053.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 02:11 wildcat.byworks.com104440747742414184.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 03:34 wildcat.byworks.com104441247942416638.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 03:34 wildcat.byworks.com104441247942416639.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 05:03 wildcat.byworks.com104441778742422648.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 05:03 wildcat.byworks.com104441778842422649.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 06:26 wildcat.byworks.com104442278742425023.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 06:26 wildcat.byworks.com104442278742425024.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 07:49 wildcat.byworks.com104442778842426393.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 07:50 wildcat.byworks.com104442778942426392.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 09:13 wildcat.byworks.com104443278942428158.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 09:13 wildcat.byworks.com104443279042428157.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 10:36 wildcat.byworks.com104443779442430301.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 10:36 wildcat.byworks.com104443779542430305.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 12:00 wildcat.byworks.com10444427924241105.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 12:00 wildcat.byworks.com10444427934241104.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 12:43 wildcat.byworks.com10444454054243066.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 13:23 wildcat.byworks.com10444477924246100.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 14:13 wildcat.byworks.com10444507934242695.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 15:20 wildcat.byworks.com10444547964246280.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 15:36 wildcat.byworks.com10444557974247037.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 16:43 wildcat.byworks.com10444597974249715.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 17:00 wildcat.byworks.com104446079542410320.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 17:51 wildcat.byworks.com104446390242413220.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 18:23 wildcat.byworks.com104446579842415022.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 19:30 wildcat.byworks.com104446979742417685.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 19:46 wildcat.byworks.com104447079942418209.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 20:11 wildcat.byworks.com104447230542418938.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 20:53 wildcat.byworks.com104447479942420135.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 21:10 wildcat.byworks.com104447579942420995.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 22:16 wildcat.byworks.com104447980342423946.spamc
-rw------- 1 qmailq nofiles 0 Feb 5 22:33 wildcat.byworks.com104448079942424688.spamc
-rw------- 1 qmailq nofiles 115435 Feb 5 23:23 wildcat.byworks.com104448382242426736
-rw------- 1 qmailq nofiles 0 Feb 5 23:23 wildcat.byworks.com104448382242426736.spamc
only one file is being processed.
In ps -auxww i found:
244 236 ? S 14:10 0:00 readproctitle service errors: ...ion byte 0x20, immediately after start byte 0xe9) in transliteration (tr///) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 892, <STDIN> line 352.?Malformed UTF-8 character (unexpected non-continuation byte 0x20, immediately after start byte 0xe9) in transliteration (tr///) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/PerMsgStatus.pm line 892, <STDIN> line 352.?
to avoid or better to limit the problem I have to issue a: killall -HUP spamd ever day.
---------------------------------------- Alberto Passariello Byte Works Sistemi S.r.l. Cisco Systems partner Premier certified Viale Liegi 44, 00198 Roma Tel: +39 6 863.863.22 Fax: +39 6 863.863.23 Email: [EMAIL PROTECTED] ----------------------------------------------- |