What exactly do you mean by reload ? The fact is that I can't browse anymore
since the selfcheck. It happens almost every hour and lasts between 3 and up
to 8 minutes.
If I do a force-reload manually (I don't know if it's the same operation) :

# time /etc/init.d/clamav-daemon force-reload
Stopping ClamAV daemon: clamd Waiting .  .  .  .  .  .  .  .  .  .  .  .  .
.  .  . .
Starting ClamAV daemon: clamd .

real    4m40.967s
user    0m12.533s
sys     2m3.960s

If the operation which takes time is freeing the database, is there a way to
make it faster ?

Best regards,

Vivien


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

> On 06/09/2010 11:34 AM, Vivien Raoul wrote:
> > I tried to renice clamd with a priority of 19. It doesn't change the
> > behaviour of scanning while I'm browsing, and the reload process doesn't
> > take more time ; I'd even say it's better since the load average doesn't
> > climb as high as it did before.
> > But, I still have a problem ; during the reload process, I can't browse ;
> as
> > clamd is occupied to reload, it can't scan the streams. How could I do to
> > still use it while it's reloading ?
> >
>
> > 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
>
> It it strange that there is such a long time between the time the need
> for reload is detected, and the actual reload starts.
> The only thing that happens there is freeing the old database.
>
> > > >>> Tue Jun  8 11:23:41 2010 -> Database correctly reloaded (799445
> > >> signatures)
>
> How long does the reload really take? 37 seconds or 6 minutes?
> It takes 2 seconds here.
>
> Best regards,
> --Edwin
> _______________________________________________
> 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