RE: [squid-users] Tuning the cache with heavy load

From: Jenny Lee <bodycare_5_at_live.com>
Date: Mon, 18 Jul 2011 14:25:05 +0000

> Hello,
>
> i have got a Squid version 3.1.8 running on a CentOS 5.x.
> Since it works for url and content filtering, in conjunction with
> Dansguardian in front, for some hunderd of users, the load average of that
> machine is sometimes very high (also 5.0 or 8.0...).
> The biggest process is squid, both on CPUs and Memory; i noticed, by
> entering top -s and press "1" - that often the system is in wait, perhaps
> it waits for the disk IO subsystem to write and manage Squid's cache.
 
cat /proc/stat
 
check for: "procs_blocked"
 
LA is a very misunderstood metric. It doesn't exactly correspond to the load as one can imagine.
 
Any time you are above 1, there is a problem somewhere.
 
I have a Quad Core with 2-3 squids each running at 90% CPU load per core constantly. Yet my LA is never more than 0.60
 
Jenny
 
                                                
Received on Mon Jul 18 2011 - 14:25:11 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 18 2011 - 12:00:02 MDT