On Fri, 31 Dec 2010 15:16:04 +0200 Török Edwin <edwinto...@gmail.com> articulated:
> 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. That was the apparent problem. I have a script that downloads and installs 3rd. party signatures and then forces a reload of clamd: kill -USR2 ${CLAMD_PID} This command is what is apparently stopping the updating of stats. It is interesting that this bug was not caught during normal testing. -- Jerry ✌ clamav.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml