On Fri, 2010-04-16 at 17:13 +0300, Török Edwin wrote: > 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 Thanks Edwin, I believe I've come to the conclusion that this issue and my high memory usage issue 'could' be related to the 3rd party signatures. I've selected to use only 'official sigs' in my clamd.conf file and so far since about 11am clamdtop has not crashed nor has my memory usage become as extreme as it was when using the 3rd party sigs. Now I'll have to do some more troubleshooting to see which of the sig files are causing the issues.
Chris -- KeyID 0xE372A7DA98E6705C
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml