David Kenneally wrote:
Hello!
I'm running version 0.88.5. I'm running into a problem with freshclam hanging up occasionally during our hourly updates. I see the process still running:

26347 ? S 0:00 awk -v progname=/etc/cron.hourly/freshclam progname {????? print progname ":\n"????? progname="";???? }???? { print; }
26348 ?        S      0:00 /usr/local/bin/freshclam --quiet


If I look at the end of the freshclam.log, I see this:

--------------------------------------
ClamAV update process started at Wed Nov  1 08:01:01 2006
main.cvd is up to date (version: 40, sigs: 64138, f-level: 8, builder: tkojm) daily.cvd updated (version: 2140, sigs: 11051, f-level: 8, builder: ccordes) Database updated (75189 signatures) from db.us.clamav.net (IP: 72.21.63.182)
--------------------------------------
ClamAV update process started at Wed Nov  1 09:01:01 2006
main.cvd is up to date (version: 40, sigs: 64138, f-level: 8, builder: tkojm) daily.cvd is up to date (version: 2140, sigs: 11051, f-level: 8, builder: ccordes)
--------------------------------------
ClamAV update process started at Wed Nov  1 10:01:01 2006
main.cvd is up to date (version: 40, sigs: 64138, f-level: 8, builder: tkojm)

As you can see, it ran find at 8am, then 9am, then at 10am it hangs after the first two lines. It will pretty much hang indefinitely until I kill the process.

Here is what's in our freshclam.conf:

DatabaseDirectory /var/lib/clamav
UpdateLogFile /var/log/freshclam.log
DatabaseMirror db.us.clamav.net
DatabaseMirror database.clamav.net

(commented out lines removed).
I've copied this freshclam.conf from another server that isn't having these problems.

Any ideas?

Thanks

I run freshclam in cron and this happens so often I've added a couple lines of code in the script to kill existing instances of freshclam before starting a new one.

dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to