Re: [squid-users] squid and kswapd cpu problem

From: Marc Elsen <[email protected]>
Date: Mon, 20 Oct 2003 13:58:24 +0200

Anders Larsson wrote:
>
> Hi!
>
> We have a squid 2.4.STABLE7 l with kernel-2.4.22
> Then problem is that the machine get very high load and kswapd takes
> about 100% of the cpu this happens when there are lots of new requests
> to squid and when squid has taken around 800Mb ram.. the high load
> stays for aboun 30 min.
>
> any hints what we can do for for this?
>
> some related squid.conf infos
>
> cache_mem 500 MB
> cache_swap_low 90
> cache_swap_high 95
> maximum_object_size_in_memory 8 KB
> cache_dir ufs /var/spool/squid 4000 16 256
> negative_ttl 1 minutes
> positive_dns_ttl 1 hours
> negative_dns_ttl 1 minutes
>
 
 Reduce :

   cache_mem

 setting to 16 or 32Mb. Read full comments on this parameter in
 squid.conf.default.

 M.
Received on Mon Oct 20 2003 - 05:58:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:32 MST