Jason Haar wrote:

> On Tue, Apr 20, 2004 at 01:11:40PM -0400, Mike Cathey wrote:
>> ...lsof the pid and see what files it has open...then copy the files to
>> somewhere else and fire them off to the develpers. :)
> 
> Nope - that won't help. I just did that - twice within 10 minutes on my
> (currently) hung mail server. The first shows clamd (running just below
> the softlimit memory setting - again it ran out of memory) having bunches
> of library files, logfiles,etc open - plus one eml file. 10 minutes later
> it hasn't got that file open but has others open...
> 
> i.e. it hasn't hung - it's now just going E.X.T.R.E.M.E.L.Y slowly...
> 
> OK, I think I can trigger this at will at the moment. If I let clamdscan
> run over my SPAM Maildir folder (32,580 msgs) - which will be full of
> atrociously written MIME mail messages (if that matters), then over a few
> minutes clamd climbs up to the softlimit RAM limit and then clamd hangs
> (or goes slow - take your pick). Then all further clamdscan processes
> hang. If I then kill the "clamdscan -r SPAM/" process, then almost
> immediately all the other clamdscan processes finish (not crash!), and
> clamd memory usage drops back down to around 16M.
> 
> Gah. I think I've figured out the problem. I'm running clamd under
> daemontools - which means I've set "Foreground" in clamav.conf... How does
> that affect the running of clamd? Does it force clamd to serialize
> requests by any chance...?

Jason,

Did you ever figure this out? I've been having this problem since a CVS upgrade
past 0.70-rc a month or two ago. 0.70 (upgraded just yesterday) does the same
thing. I'm running FreeBSD 4.8-RELEASE + daemontools. I don't see the seg
fault, but my clamd is hanging every 5 or 10 minutes and I'm forced to use monit
to test the socket and restart it if it's not working. This bug is really crimping my
style. :)

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to