Hello,
On my system clamav-milter crasesh from time to time (disappears, issues clamfi_close, whatever). This happens usually during spam attacks (high load). On my system the cron executes everything twice, instead of once. Thus freshclam is executed twice, sometimes within a very small difference in the time.. * Is it possible, that that the second freshclam blocks the access to the DB and the clamav-milter turns itself off as result?

freshclam.conf sais:

--------------------------------------
ClamAV update process started at Wed Sep 21 03:22:44 2005
ERROR: Can't create new file ./clamav-bdf74bc2f77f94b6 in /var/lib/clamav
ERROR: The database directory must be writable for UID 53 or GID 53
ERROR: Can't download main.cvd from db.de.clamav.net (IP: 129.13.186.1)
--------------------------------------
ClamAV update process started at Wed Sep 21 03:23:29 2005
main.cvd updated (version: 34, sigs: 39625, f-level: 5, builder: tkojm)
daily.cvd updated (version: 1096, sigs: 587, f-level: 6, builder: diego)
Database updated (40212 signatures) from db.de.clamav.net
Clamd successfully notified about the update.
--------------------------------------

In this case I would recommend to implement a locking mechanism, which does not allow updates until the previous ones have finished. (and the last sentence is why I post this to clamav-devel.
        Greetings,
                Дилян
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to