Ok ill test that

But the machine has 4Gb ram so why not using 500MB ? is it better to let
squid increase if it's needed?

// Anders



On Mon, 2003-10-20 at 13:58, Marc Elsen wrote:
> 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.
-- 


Reply via email to