On 3/16/04 10:53 AM, "Robert Blayzor" <[EMAIL PROTECTED]> wrote:

More on this...

> Using clamd snapshot 20040316 on FreeBSD 4.9
> 
> Still having problems when clamd reloads the virus definitions.  I've moved
> the DB to local disk from NFS, and still see the same problem.  We have
> several servers that all randomly run into this problem.  It seems to hold
> up all the threads and take a REALLY long time..
> 
> Mar 16 10:01:41 mx0-b clamd[83930]: No stats for Database check - forcing
> reload 
> Mar 16 10:01:41 mx0-b clamd[83930]: Reading databases from
> /usr/local/share/clamav
> Mar 16 10:09:29 mx0-b clamd[83930]: Database correctly reloaded (20482
> viruses) 

I caught clamd "reloading" the database.  When it does, clamd takes up a TON
of resources while it "reloads".

  PID USERNAME PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
28362 root      63   0 21840K 20548K CPU0   1  20:57 99.02% 99.02% clamd


It eventually continues...

Mar 16 16:46:34 mx0-a clamd[28362]: No stats for Database check - forcing
reload 
Mar 16 16:50:44 mx0-a clamd[28362]: Reading databases from
/usr/local/share/clamav
Mar 16 16:50:45 mx0-a clamd[28362]: Database correctly reloaded (20486
viruses) 


I'm also having a problem with random clamdscan's hanging immediately when
they connect to clamd.  They just hang around until the mail server thinks
they are dead and kills them.

I was using a UNIX socket, then switched to a TCP socket, and still have the
same problem.

--
Robert Blayzor, BOFH
INOC, LLC
[EMAIL PROTECTED]
PGP: http://www.inoc.net/~dev/
Key fingerprint = 1E02 DABE F989 BC03 3DF5  0E93 8D02 9D0B CB1A A7B0

Beware of programmers who carry screwdrivers.  - Leonard Brandwein




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to