On 2010-12-31 15:09, TR Shaw wrote:
> 
> On Dec 31, 2010, at 2:25 AM, Török Edwin wrote:
> 
>> Actually in 0.96.5 freshclam gets the stats directly from clamd, not the
>> logs. If you restart clamd the stats are lost as they are not saved
>> anywhere.
> 
> 
> Oh so that means if you want to keep stats you need to run freshclam on 
> shutdown or restart of clamav?

Freshclam can run at anytime when clamd is alive (multiple times too of
course). If you see 5 viruses today, and restart clamd tomorrow and see
5 more that won't meet the minimum threshold for submission (it will
only see last 5).
I don't think this is the issue here though.

> 
> Also will kill -USR2 `cat $clamd_pid` lose stats?

Due to a bug in clamd yes, see Tomasz's reply.
This is already fixed in git.

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