On 04/16/2010 04:43 PM, Chris wrote:
I'm trying to figure out what is causing, in my opinion, abnormal memory
usage when clam is running. I started clamdtop and shortly thereafter it
crashed with the below:

Connecting to: /var/lib/clamav/clamd.socket

Is this the right socket? See clamconf | grep LocalSocket

Abnormal program termination: Failed to reconnect to clamd after
connection was lost in reconnect at line 624

Perhaps a command-line flag would be useful to allow it to retry a couple more times?

For now edit clamdtop/clamdtop.c and at line 617:
        if(++tries > 3) {

Change that to something higher, like 30, or 100.


Anyone with an idea what could cause this? This is version 0.96 on a
Mandriva 2010 box.

Maybe clamd is so loaded, that it can't accept new connections?

Also try this:
echo nSTATS | socat /var/lib/clamav/clamd.socket -

That gives same output as clamdtop, but in a text form.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to