Re: [squid-users] Squid intermittently fails with 503 after connect

From: Eliezer Croitoru <eliezer_at_ngtech.co.il>
Date: Wed, 18 Sep 2013 01:12:39 +0300

On 09/17/2013 05:37 PM, John McGowan wrote:
> Eliezer, I don't know how I missed this before when I looked at my
> configuration file.
>
> I had the line....
>
> connect_timeout 3.0 seconds
Makes sense in a case that the upstream service\server takes time to
respond.
This can be because of your proxy is treated like a DOS service in a
case of more then a specific amount of connections is over the basic limit.

>
> In my case the problem is most definitely occurring when connecting to
> a small subset of the servers. Those servers are likely under load
> and that's why I'm seeing the issue.
>
You can do a tcp_ping to the services not by the squid service and to do
a small tcpdump to see how it reacts.

> I tried setting things back to the default 60 seconds and things are
> working as expected.
Great
>
> I think what happened is that I was reading the documentation and saw
> that the default was 1 minute, and had assumed that my config file was
> not overriding that default. I was wrong.
Happens to the best of us.

In a case you see that the solution didn't make it I'm here.

Eliezer
Received on Tue Sep 17 2013 - 22:12:55 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 18 2013 - 12:00:05 MDT