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? > 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
