Search squid archive

Re: Squid - Read Error

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

 



Dear Amos,

I changed negative_ttl setting 
is at "0 seconds". 

I did trace also( trace root is workig fine)  but sitll i am getting same read 
error.

Some times working. some time i am getting read error.

regards,



----- Original Message ----
From: Amos Jeffries <squid3@xxxxxxxxxxxxx>
To: squid-users@xxxxxxxxxxxxxxx
Sent: Sun, February 20, 2011 4:35:02 PM
Subject: Re:  Squid - Read Error

On 20/02/11 18:05, Mohamed Adhil wrote:
> Dear ,
>
> I am getting following error on my squid box
>
> ERROR
> The requested URL could not be retrieved
>
> While trying to retrieve the URL: http://www.google.com/
>
> The following error was encountered:
>
> * Read Error
>
> The system returned:
>
> (104) Connection reset by peer
>
> An error condition occurred while reading data from the network. Please retry
> your request.
>
> Your cache administrator is webmaster.
>
>
> I am not sure where to begin to look!  I've cleared the cache and reviewed the
> config file.  I am at a loss.  Nothing changed and it's been working for 
years!
>
>
> And one more thing, we can access other web sites. And some of the web sites I
> am getting this message after some time its working
>
> Any help would be greatly appreciated!
>

Squid is attempting to read a reply from some remote server. But the 
server disconnects unexpectedly.
  This can happen for any number of small TCP interactions. Usually 
short lived and not repeating.
  First thing to do is check that your squid.conf negative_ttl setting 
is at "0 seconds". If it is higher then it will expand a short temporary 
error into a full DoS for the length of time it is set to.


Being a TCP problem the easiest way to trace this is via the raw 
packets. If you can find a site and request which always has the problem 
the packet trace of one such request will show what is happening.

Amos
-- 
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.11
  Beta testers wanted for 3.2.0.5



      



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

  Powered by Linux