Cache_mem should be not be that high. 
Try 
cache_mem 64
cache_swap_low 85
cache_swap_high 90

Joel n.solanki
----- Original Message ----- 
From: "Anders Larsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 20, 2003 5:02 PM
Subject: [squid-users] squid and kswapd cpu problem


> 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
> 
> 
> -- 
> 
> 


Reply via email to