RE: [squid-users] squid - k rotate problem

From: Elsen Marc <elsen@dont-contact.us>
Date: Wed, 25 Aug 2004 07:40:39 +0200

 
>
> greetings
>
> i have squid running as a transparent proxy with squidguard as a
> content filter. I recently increased the filter list size and my
> machine is choking when i rotate the logs.
>
> i have a cron job execute squid -k rotate at night. the CPU
> pegs out at
> 100% and it takes for ever for squidguard to process the blacklists.
> without intervention the machine will choke itself to death
> and restart.
>
> with intervention i have been able to flush my IPFW redirect, load
> squid, wait 20 minutes until the CPU is done processing the the
> blacklist then add the redirect statements back in. the whole process
> takes about 30 minutes start to finish.
>
> is there a cleaner way to rotate? the 30 min down time seems too long.
>
> running squid-2.5 Stable6 & squidguard 1.2
>
>
  Make sure to use the pre-formatted db files when using SquidGuard otherwise SQ
has to create this db format in memory when the squidguard processes are restarted,
which also happens as a result of 'squid -k rotate'. This can take considerable
overhead and delay. Create db files for squid at all times and when blacklists are
updated using :

            % squidGuard -C all

M.
Received on Tue Aug 24 2004 - 23:42:32 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT