Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [Clamav-users] clamd stuck at 100% cpu usage

From: Christoph Moench-Tegeder <cmt(at)burggraben.net>
Date: Mon Oct 01 2007 - 18:00:04 EDT


## Roberto Ullfig (rullfig@uic.edu):

> We've also seen clamd stuck at 100% when PDF scanning (new feature
> introduced recently) large files. We've disabled PDF scanning for now.
> We will need to put in our own check to prevent PDF scanning of files
> over a certain size.

I've seen a similar issue: clamd runs at 100% CPU and takes forever scanning one mail.
Some additional facts I gathered: This issue is reproducible with a vanilla (no patches) clamav 0.91.2 on Debian Linux (stable), official signatures only. It does not happen with clamav 0.91.2 on FreeBSD (compiled from ports), so I believe there could be an issue in one of the supporting libraries. The hang occurs when scanning the whole mail, but not when scanning parts as decoded by amavisd-new, so perhaps it's somewhere in the MIME decoder. I have looked into the offending mails, but found nothing obvious (I'm still trying to get a sample, I can't post my users personal mail here).

Regards
Christoph

-- 
Spare Space
_______________________________________________
Help us build a comprehensive ClamAV guide: visit 
http://wiki.clamav.nethttp://lurker.clamav.net/list/clamav-users.html
Received on Mon Oct 1 18:23:32 2007

This archive was generated by hypermail 2.1.8 : Mon Oct 29 2007 - 11:51:15 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library