Re: [squid-users] Re: Squid CPU 100% infinite loop

From: Loïc BLOT <loic.blot_at_unix-experience.fr>
Date: Tue, 28 May 2013 21:38:43 +0200

For me the problem is resolved.
It happens when squid reach the maximum FD, squid has more and more
requests to process and then it's blocked and very very slow. I have
increased system FD to 16K and squid FD to 10K, i haven't the problem
since this modification.

-- 
Best regards,
Loïc BLOT, 
UNIX systems, security and network expert
http://www.unix-experience.fr
Le mardi 28 mai 2013 à 16:01 +0000, Stuart Henderson a écrit :
> On 2013-05-17, Alex Rousskov <rousskov_at_measurement-factory.com> wrote:
> > On 05/17/2013 01:28 PM, Loïc BLOT wrote:
> >
> >> I have found the problem. In fact it's the problem mentionned on my
> >> last mail, is right. Squid FD limit was reached, but squid doesn't
> >> mentionned every time the freeze appear that it's a FD limit
> >> problem, then the debug was so difficult.
> >
> > Squid should warn when it runs out of FDs. If it does not, it is a
> > bug. If you can reproduce this, please open a bug report in bugzilla
> > and post relevant logs there.
> >
> > FWIW, I cannot confirm or deny whether reaching FD limit causes what
> > you call an infinite loop -- there was not enough information in your
> > emails to do that. However, if reaching FD limit causes high CPU
> > usage, it is a [minor] bug.
> 
> I've just hit this one, ktrace shows that it's in a tight loop doing
> sched_yield(), I'll try and reproduce on a non-production system and open
> a ticket if I get more details..
> 
> 

Received on Tue May 28 2013 - 19:32:10 MDT

This archive was generated by hypermail 2.2.0 : Wed May 29 2013 - 12:00:07 MDT