Re: [squid-users] Squid high CPU usage issue

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Sun, 25 Feb 2007 16:28:08 +0100

On 22.02.07 22:50, Chris Rosset wrote:
> I am using squid-2.5.STABLE6

as already advised, upgrade first.

> and running into a very high CPU usage
> problem "top" shows almost 100% usage

often happens with badly configured or complicated ACL lists.

> well it's a dual cpu box but shows 48% so it's almost maxed on one cpu.

squid can't use more than one CPU currently. using aufs or diskd and some
external processes for various things makes this only a bit better.

> I've read various threads on the mailing list but cant figure out what i
> should do in my case, multiple disks, use aufs instead of ufs ?

they would help you, but not with CPU usage, see above.

> - I have about 2 or 3 ACL lists that are under 1k lines
> and one acl that has 8192 lines, mostly for denied sites.

This might be your problem. First check them, if you are not using useless
regular expressions for ACLs. Then, try applications like squidguard for
ACLs.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Honk if you love peace and quiet. 
Received on Sun Feb 25 2007 - 08:28:12 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST