Search squid archive

Re: CPU saturation?

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

 



On Wednesday 16 November 2005 13:21, James Vanns wrote:
> A question to the floor. We are running squid 2.5STABLE3 and have a
> non-caching setup including the following configuration statements:
> 
> <snip>
> cache_dir null /dev/null
> 
> acl all src 0.0.0.0/0.0.0.0
> no_cache deny all
> 
> ident_lookup_access deny all
> request_timeout 1 minute
> connect_timeout 1 minute
> 
> fqdncache_size 2048
> pipeline_prefetch on
> 
> half_closed_clients off
> client_persistent_connections off
> server_persistent_connections off
> </snip>
> 
> With approximately 3000 open file descriptors (configured at compile
> time and set at runtime with ulimit -HSn 16384) and an equivalent no. of
> client/server TCP connections we see a constant CPU usage of ~95-100%.
> Is this normal!? The hardware is as follows:

I don't think so. Try strace and ltrace on running squid.
 
> Dual Intel(R) Xeon(TM) CPU 3.20GHz (Linux of course manages the CPU
> affinity as we know squid isn't multi-threaded)
> 6G of memory

IIUC one squid will load only one CPU, how do you get "95-100%" load
on both?
--
vda

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

  Powered by Linux