On 01/24/2013 11:40 AM, Lee Graber wrote:
I am just starting to try and get clamd + freshclam running on some Ubuntu
servers running on EC2 servers in the US Standard Region (east coast). The
documentation talks about specifying a mirror which is close to you but it
seems to default to the round-robin endpoint. I have run freshclam a number
of times and sometimes it takes 14 seconds and sometimes it takes 6
minutes. I can see that the ip address is different on the calls and am
trying to figure out how I can get it to take 14 seconds all the time :). I
can't find anything that says there is a mirror in the Amazon DataCenter.
How can I make this behavior reliable fast.

Thanks
Lee
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

You should have set up freshclam.conf to use the US mirrors (DatabaseMirror db.us.clamav.net). The update time will vary depending on whether it has to download any updates and the load on the particular mirror it connects to. The round-robin functionality is by design to spread load and help when a mirror goes down for any reason.

You may also want to change the update frequency. I am running freshclam as a cron task and set it to not be on the hour, e.g. I update at 5 minutes after the hour to try and hit the mirrors at a low load time.


--
Jim Preston



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to