Search squid archive

Re: Timeout explanation in layman's term

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

 



tor 2007-04-26 klockan 20:56 +0800 skrev squid squid:

> connect_timeout 120 seconds - This is a timeout between Squid Proxy Server 
> --> Web Server and if after 120 seconds, Squid Proxy Server does not get a 
> reply from Web Server, it will response to the Client PC of connection timed 
> out error to the Web Server.

Not reply. Just to connect to the server in order to send the request.
(TCP connect).

> read_timeout 120 seconds - This is a timeout between Client PC --> Squid 
> Proxy Server and if after 120 seconds, the client PC is idle (ie. IE did not 
> send any request), Squid Proxy Server will drop the connection between the 
> Client PC and Squid Proxy Server.

read_timeout is on the server connection. If the server is idle not
returning a piece of response within this time Squid gives up. Default
15 minutes.

It's also used as timeout while trying to send the request to the server
btw..

> request_timeout 30 seconds - This is a timeout between Squid Proxy Server 
> --> Web Server. Squid Proxy Server able to communicate with the Web Server 
> upon receiving a request from the Client PC. However the Web Server is not 
> able to complete the request after 30 seconds, Squid Proxy Server will 
> response to the Client PC of connection timed out error to the Web Server.

request_timeout is between client->squid. Here is two different timeouts
(request_timeout and persistent_request_timeout). The first is the
timeout before which the client must send the first request after
establishing a TCP connection to the proxy, the second is the timeout
before which the client must send the next request after the response to
the previous..

> pconn_timeout 120 seconds - This is a timeout between Squid Proxy Server --> 
> Web Server and if after 120 seconds, Squid Proxy Server will drop the 
> connection between the Squid Proxy Server and Web Server.

Correct. Server connections not used for more than pconn_timeout is
dropped to avoid wasting server resources no longer needed.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux