Search squid archive

Re: [squid-users] Squid-2.5STABLE9 CPU usage problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thank you and I will have a try.

I set maximum_object_size_in_memory to 256 KB because our pages are large.
We have found that it's a good idea to use squid to accelerate some dynamic 
website, for example: forum. because most people just browsing and reading
in a forum. when they post something, we just open a tcp connection and send
a PURGE command to squid. by using this method, our app server's load has
descrease to 10% and even less.

The only problem I've met is the increasing cpu usage. I am trying to
find if the
problem was caused by my mis-configuration.


On Tue, 29 Mar 2005 12:51:10 +0200 (CEST), Henrik Nordstrom
<hno@xxxxxxxxxxxxxxx> wrote:
> On Tue, 29 Mar 2005, netcraft wrote:
> 
> > We use squid to accelerate our dynamic pages(resin/jsp), some pages
> > are setting to very short expiry time(2min). and some are one day. It works
> > good at the beginning, But I meet a strange problem: when squid start, it use
> > about 8% of cpu time. the speed is fast. after 2 or 3 days, the cpu usage
> > grows up to 49%, and the speed is slow.
> 
> Try the following
> 
> half_closed_clients off
> quick_abort_min 0 KB
> quick_abort_max 0 KB
> 
> and don't set maximum_object_size_in_memory overly large.
> 
> Regards
> Henrik
>

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux