2010/6/8 Török Edwin <edwinto...@gmail.com>

> On 06/08/2010 02:14 PM, Vivien Raoul wrote:
> > Hello,
> >
> > I use an old PC as a gateway at home ; with mail and web proxies using
> the
> > clamAV socket. This machine only has 128MB of RAM. It worked very well
> until
> > I install the 0.96 version (and more recently the 0.96.1 one). First of
> all,
> > the startup takes more time ; it's not really a big problem since as a
> > gateway it doesn't have to reboot very often.
> > But the problem goes when freshclam updates the database ; as you can see
> in
> > the logs it takes a loooong time :
> >
> > Tue Jun  8 11:17:17 2010 -> SelfCheck: Database modification detected.
> > Forcing reload.
> > Tue Jun  8 11:23:04 2010 -> Reading databases from /var/lib/clamav
> > Tue Jun  8 11:23:41 2010 -> Database correctly reloaded (799445
> signatures)
> >
> > I added more swap to the machine, but the load average is incredibely
> high
> > during the reload procedure. As a result, I can't browse during the
> > reloading operations.
>
> Is it clamd or freshclam causing the load (freshclam loads the database
> as of 0.96.1, but doesn't build a trie).
>

I guess freshclam calls clamd for a reload, right ? In my process list, it's
clamd which uses all the CPU.

>
> >
> > I can't add memory. I was wondering if there would be a way to allow my
> > proxies to communicate with the clamav socket during the reload ; maybe
> by
> > setting a lower priority to the reload process ?
> >
> > If this operation is possible, which processes should I nice ?
>
> reload is part of clamd, so you can nice all of clamd.
>

Thank you, I will try it so, and give my feedback.

>
> Best regards,
> --Edwin
>

Regards,

Vivien.

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

Reply via email to