dexter_yccs
sendmail clamscan占太多CPU
CPU:Intel(R) Xeon(TM) CPU 3.06GHz 1G內存
RHEL4 + SENDMAIL + MAILSCANNER + CLAMAV + SpamAssassin + mailwatch ,最近发现本地收发邮件都很慢,查看clamscan进程占用CPU经常在90%左右,
top结果如下:
[root@mail ~]# top
top - 20:17:01 up 224 days, 5:09, 3 users, load average: 1.30, 1.35, 1.28
Tasks: 138 total, 5 running, 132 sleeping, 0 stopped, 1 zombie
Cpu(s): 94.5% us, 5.1% sy, 0.0% ni, 0.3% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1034644k total, 816788k used, 217856k free, 40644k buffers
Swap: 2097096k total, 160k used, 2096936k free, 286696k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23532 root 25 0 46060 42m 824 R 91 4.3 0:04.78 clamscan
23538 root 25 0 47388 43m 732 R 84 4.3 0:04.46 clamscan
23547 root 25 0 36784 28m 2352 R 22 2.9 0:00.65 MailScanner
1 root 15 0 3516 552 472 S 0 0.1 2:11.77 init
2 root RT 0 0 0 0 S 0 0.0 0:36.78 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.92 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:40.13 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:00.82 ksoftirqd/1
6 root 5 -10 0 0 0 S 0 0.0 0:24.34 events/0
7 root 5 -10 0 0 0 S 0 0.0 0:27.95 events/1
8 root 5 -10 0 0 0 S 0 0.0 0:00.01 khelper
9 root 15 -10 0 0 0 S 0 0.0 0:00.00 kacpid
33 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/0
34 root 5 -10 0 0 0 S 0 0.0 0:00.00 kblockd/1
====================================
在maillog中未发现什么异常,但是在message中发现如下内容:
Jun 26 20:11:48 mail last message repeated 5 times
Jun 26 20:11:48 mail named[5058]: lame server resolving 'giro-konto.de' (in 'giro-konto.de'?): 212.77.226.198#53
Jun 26 20:11:49 mail named[5058]: lame server resolving 'giro-konto.de' (in 'giro-konto.de'?): 212.77.234.12#53
Jun 26 20:11:53 mail MailScanner: waiting for children to die: Process did not exit cleanly, returned 2 with signal 0
Jun 26 20:12:25 mail last message repeated 6 times
Jun 26 20:13:30 mail last message repeated 13 times
Jun 26 20:14:32 mail last message repeated 11 times
Jun 26 20:15:33 mail last message repeated 12 times
Jun 26 20:16:35 mail last message repeated 12 times
Jun 26 20:17:40 mail last message repeated 13 times
Jun 26 20:18:41 mail last message repeated 12 times
我已经将clamav升级到最新版本,但问题依旧,别外不清楚 mail MailScanner: waiting for children to die: Process did not exit cleanly, returned 2 with signal 0 这句的意思,请各位大侠多多指教~~~~:em21: