clamd eat much CPU and loading high

claven177

Well-Known Member
Sep 3, 2003
61
0
156
Taipei
Every day my server goes down due to process spamd using lots of CPU. If i look at #top it shows spamd at the top going from 10% CPU to 80% and its slows down everything on the server.

clamd eat much CPU and loading high
This month I have found clamd eat much CPU
How to fix the problem?
HELP ME !!
Any suggestions would be greatly appreciated!

----------------------------------------
pcpu pmem cmd
90.5 2.5 /usr/sbin/clamd


The correction of load
----------------------------------------
2007/06/07 18:24 LOAD:0
2007/06/07 18:26 LOAD:1
2007/06/07 18:28 LOAD:0
2007/06/07 18:30 LOAD:0
2007/06/07 18:32 LOAD:0
2007/06/07 18:34 LOAD:2
2007/06/07 18:36 LOAD:2
2007/06/07 18:38 LOAD:4
2007/06/07 18:40 LOAD:15 ____XXXXX
2007/06/07 18:42 LOAD:3
2007/06/07 18:44 LOAD:2
2007/06/07 18:46 LOAD:2
2007/06/07 18:48 LOAD:6
2007/06/07 18:50 LOAD:4
2007/06/07 18:52 LOAD:6
2007/06/07 18:54 LOAD:4
2007/06/07 18:56 LOAD:1
2007/06/07 18:58 LOAD:1
2007/06/07 19:00 LOAD:0
2007/06/07 19:02 LOAD:4
2007/06/07 19:04 LOAD:6
2007/06/07 19:06 LOAD:9 ____XXXXX
2007/06/07 19:08 LOAD:3
2007/06/07 19:10 LOAD:6
2007/06/07 19:12 LOAD:5
2007/06/07 19:14 LOAD:3
2007/06/07 19:16 LOAD:7
2007/06/07 19:18 LOAD:5
2007/06/07 19:20 LOAD:4
2007/06/07 19:22 LOAD:1
2007/06/07 19:24 LOAD:3
2007/06/07 19:26 LOAD:23 ____XXXXX
2007/06/07 19:28 LOAD:5
2007/06/07 19:30 LOAD:1
 
Last edited:

claven177

Well-Known Member
Sep 3, 2003
61
0
156
Taipei
top - 06:11:48 up 2 days, 20:45, 2 users, load average: 2.42, 3.18, 4.25
Tasks: 124 total, 3 running, 121 sleeping, 0 stopped, 0 zombie
Cpu(s): 93.7% us, 1.7% sy, 0.0% ni, 0.0% id, 0.0% wa, 1.0% hi, 3.7% si
Mem: 1027740k total, 1014824k used, 12916k free, 37368k buffers
Swap: 2048276k total, 208k used, 2048068k free, 772424k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17540 root 25 0 31980 25m 1020 R 96.0 2.5 0:15.12 clamd
12959 cell 16 0 7640 2364 1876 R 0.3 0.2 0:05.76 sshd
13081 root 16 0 3412 1036 764 R 0.3 0.1 0:06.72 top
14599 nobody 15 0 8220 4460 2276 S 0.3 0.4 0:00.16 httpd
14601 nobody 16 0 8216 4476 2292 S 0.3 0.4 0:00.20 httpd
14840 nobody 16 0 8216 4456 2280 S 0.3 0.4 0:00.13 httpd
17349 paralink 15 0 3576 532 432 S 0.3 0.1 0:00.04 pop3d
17374 nobody 15 0 8220 4452 2276 S 0.3 0.4 0:00.01 httpd
17546 mailnull 15 0 7476 1876 1556 S 0.3 0.2 0:00.01 exim
1 root 16 0 1844 548 468 S 0.0 0.1 0:02.61 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.91 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 events/0
4 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 khelpe