these two options will decrease your connections and therefore descrease
the cpu usage of select/poll system call. If you have not many small files to
transfer in one connection between the client and squiid, you will benefit from
the "client_persistent_connections off" option.
Also I suggest you to close client_db if you use squid as reverse proxy or
accelerator, because the hashtable for collecting client information only has
467 buckets, compare to the potential user on the internet, it's too small.
and the collision of the hashtable access will eat up your cpu day after day.
On Tue, 29 Mar 2005 17:04:56 +0500, Askar <askar@askarali.info> wrote:
> Hi
>
> I don't know what thing hitting your cache however your post solved
> my problem, I added these two tags from your post and my squid cpu load
> come down to 99% to 34% :)
>
>
> client_persistent_connections off
> server_persistent_connections off
>
> Thanks and regards
>
>
Received on Tue Mar 29 2005 - 05:36:59 MST
This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:03 MST