clamd cpu load

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
Troy McClure
Forum Regular
Forum Regular
Posts: 196
Joined: Tue May 10, 2005 1:24 pm

clamd cpu load

Unread post by Troy McClure »

I realized this morning that clamd had started taking way too many resources. It steadily climbs until I restart the service. I have tried just removing clamd, clamav, and clamav-db and re-installing them, but the problem still comes back. When I restart the service it will run ok for a few minutes and then it will spike. Once it does, it never goes back down. I have asl and everything is updated. I don't see anything in the clamd log to indicate any kind of problem. Any suggestions on how to figure out what is going on?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: clamd cpu load

Unread post by scott »

Check out "clamdtop"
Troy McClure
Forum Regular
Forum Regular
Posts: 196
Joined: Tue May 10, 2005 1:24 pm

Re: clamd cpu load

Unread post by Troy McClure »

OK, this is what I get.

Code: Select all

 CONTSCAN         702.268s    /var/spool/qscan/tmp/my.server.com125018402579423272/348A9200.ZIP
 CONTSCAN         506.656s    /var/spool/qscan/tmp/my.server.com125018421879424217/348A9200.ZIP
 CONTSCAN         325.456s    /var/spool/qscan/tmp/my.server.com125018440679425227/orig-my.server.com125018440679425227
 CONTSCAN         135.785s    /var/spool/qscan/tmp/my.server.com125018459479426494/orig-my.server.com125018459479426494
For some reason these aren't getting removed. They just stay there until I restart clamd.
Troy McClure
Forum Regular
Forum Regular
Posts: 196
Joined: Tue May 10, 2005 1:24 pm

Re: clamd cpu load

Unread post by Troy McClure »

I think I got it resolved. I had some bad signatures or something. I removed clamav and then removed everything in /var/clamav. Reinstalled and ran freshclam to update it. Everything seems ok now.
Post Reply