Török Edwin wrote:
On 2011-03-10 19:25, Vivien Raoul wrote:
Hello,

I used to post here a few months ago about the engine's memory consumption.
The newer versions give me satisfaction, but during the process of database
reload (after a freshclam update), the network can be unreachable during a
few minutes.

minutes?? It should be a few seconds. Are you using 0.97?

In my case its approx 3 minutes. I just switched from 0.95.3 to 0.97
and before the database reload took about 50 seconds. I tried to
switch off the bytecode signatures, but that doesn't helped.

Can I tweak a setting to reduce this time ?

Regards,
Martin

To explain the situation quickly, I use a gateway using HAVP with ClamAV,
which has 128Mo of RAM. I launch freshclam at night, but still this point
can be annoying.

Reading the code, I saw that the operation of database reload is synchronous
: during the database build, the scanner socket cannot be reached until the
old base is substituted by the new one. I think about a way to make the
process asynchronous : the substitution would occur only when the new
database is built. But instead of doing this for myself only, I would like
to know if this functionality could be interesting for you and could be
added in the future versions.

Thank you for your answers/suggestions.

Note that this change would double memory usage during reload, so it
should probably be configurable.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

---------------------------------------------------------------
Martin Preen, Universität Freiburg, Institut für Informatik
Georges-Koehler-Allee 52, Raum EG-006, 79110 Freiburg, Germany

phone: ++49 761 203-8250      [email protected]
fax: ++49 761 203-8242        www.informatik.uni-freiburg.de

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

Reply via email to