Search squid archive

Squid high CPU usage issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using squid-2.5.STABLE6 and running into a very high CPU usage
problem
"top" shows almost 100% usage well it's a dual cpu box but shows 48% so
it's almost maxed on one cpu.
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 ?

- using 2 mirrored disks and 1 cache dir.
- I am using the default cache_dir value
cache_dir ufs /var/data/squid/cache 100 16 256

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

Here is some calamari details in a 24 hour period.
we have about 450 users.
Incoming requests by method  
method request % sec/req Byte % kB/sec 

GET 310095 87.54 1.61 3617130K 93.74 7.25 
POST 26833 7.58 1.14 65826360 1.67 2.10 
CONNECT 15976 4.51 15.74 176569K 4.58 0.70 
HEAD 643 0.18 0.54 403192 0.01 1.13 
PROPFIND 576 0.16 0.87 414007 0.01 0.81 
OPTIONS 107 0.03 0.17 101886 0.00 5.42 
Sum 354230 100.00 2.21 3858881K 100.00 4.94 

Other system info:

System Configuration:  Sun Microsystems  sun4u
Memory size: 4096 Megabytes

SUNW,Sun-Fire-V440

psrinfo -v

Status of processor 0 as of: 02/22/07 16:58:42
  The sparcv9 processor operates at 1062 MHZ,
        and has a sparcv9 floating point processor.
Status of processor 1 as of: 02/22/07 16:58:42
  The sparcv9 processor operates at 1062 MHZ,
        and has a sparcv9 floating point processor.

I was about to install two instances of squid and run both with two
different IP's the server is configured with
and use http_port x.x.x.x:3128 for the first and http_port x.x.x.x:
3129 for the second squid to hopefully split the load between
them, Please let me know if you have any other reccomendations to
increase performance. Thanks!

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux