Hello,

 I installed clamd server (0.98.7) with clamav-milter using RPM of EPEL.

With this installation, after every freshclam update session, clamd is forced to read the DB:

2015-09-29T09:12:41.244383+02:00 av1 clamd[15201]: Reading databases from /var/lib/clamav 2015-09-29T09:13:14.950256+02:00 av2 clamav-milter[11957]: Failed to stream to clamd
2015-09-29T09:13:14.950546+02:00 av2 clamav-milter[11957]: Streaming failed
2015-09-29T09:13:20.593439+02:00 av1 clamd[15201]: Database correctly reloaded (5342538 signatures)

During this time clamav-milter have a trouble and the SMTP server experiences a delay receiving the mail. On a frontend MSA SMTP server this delay is a problem.

I would like to know if there is a better way to configure the DB update, without interruption on service. In case I remove the reload, is SelfCheck of Clamd sufficient to detect a change in DB?
Do you have any hint to improve performances?

I tried to relax the upgrades, but I see the problem is the time spent to reload the db:

2015-09-29T01:03:15.710526+02:00 av2 clamd[15201]: Reading databases from /var/lib/clamav 2015-09-29T01:03:53.151179+02:00 av2 clamd[15201]: Database correctly reloaded (5342845 signatures)

Is there a way to speed up this phase? Maybe putting the db files into a RAM fs?

Thank you very much
Marco

_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to