Re: [squid-users] CPU saturation?

From: Denis Vlasenko <vda@dont-contact.us>
Date: Wed, 16 Nov 2005 14:33:25 +0200

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
Received on Wed Nov 16 2005 - 05:34:20 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:09 MST