Re: [squid-users] cpu load boom when rotate the access.log(coss filesystem)

From: Felix New <moxnetx@dont-contact.us>
Date: Thu, 27 Mar 2008 15:34:19 +0800

thanks for your reply

1. the version i used is 2.6.STABLE19
$ squid/sbin/squid -v
Squid Cache: Version 2.6.STABLE19

2. the os is red hat enterprise edition 4 update 4, and the file
system of cache dir is ext3, cache_dir is coss:
the cache_dir line in squid.conf:
cache_dir coss /cache/coss 8000 max-size=1000000 block-size=512
max-stripe-waste=32768 membufs=30

by the way, i want to know whether the time is random when squid
rebuild its cache_dirs? it rebuild the cache_dirs when start, and i
found it rebuild them random running and i didn't restart that
process.

2008/3/26, Amos Jeffries <squid3@treenet.co.nz>:
> Felix New wrote:
> > hi all,
> >
> > i have used aufs file system for a few days and that is very good.
> > but i encounter a question when i chang the aufs to coss: the cpu load
> > is very very high(100% nearly) when i rotate the squid access log file
> > with command 'squid -k rotate', and can not fall down.
> >
> > i google that and find a article about
> > that:http://www.freeproxies.org/blog/2007/12/29/advanced-squid-issues-upkeep-scripts-and-disk-management/
> > ---------------------------
> > If you have a script rotate your squid logs (as you should have),
> > and the squid cache is rebuilding when you are rotating your logs,
> > squid will not accept any more connections until it has finished
> > rebuilding the storage.
> > ----------------------------
> > is this a squid bug?how to fix it?
> >
> > thank you.
> >
> >
>
> FAQ #1: Which squid release are you using?
>
> FAQ #2: What exact configuration are you using (minus default comments)?
>
> Also: What system setup do you have underneath squid? disks and
> cache_dirs, etc.
>
> Amos
> --
> Please use Squid 2.6STABLE17+ or 3.0STABLE1+
> There are serious security advisories out on all earlier releases.
>

-- 
Best regards
Felix New
Received on Thu Mar 27 2008 - 01:34:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT