Search squid archive

RE: Questions about Squid read_timeout and retrybehavior

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

 



Thanks for the response. Unfortunately, "retry_on_error" seems not available
for squid 2.5.STABLE5 which is the version I am using.

Thanks,
Katie


-----Original Message-----
From: Visolve squid [mailto:squid@xxxxxxxxxxx] 
Sent: Thursday, May 25, 2006 12:57 PM
To: Katie Wang
Cc: squid-users@xxxxxxxxxxxxxxx
Subject: Re:  Questions about Squid read_timeout and
retrybehavior

Hello Katie,

Check the "retry_on_error" in squid.conf file.

If set to on Squid will automatically retry requests when
receiving an error response. This is mainly useful if you
are in a complex cache hierarchy to work around access
control errors.

Thanks,
Visolve Squid Team,
http://squid.visolve.com

On Tue, 2006-05-23 at 17:32 -0400, Katie Wang wrote:
> Hi, 
>  
> I am using Squid of Version 2.5.STABLE5, and I have a few questions
> regarding the squid read_timeout behavior. I did some tests and I would
> first summarize my observation as following:
>  
> ----  Summary Start -----
>  
> When squid conf is "read_timeout 1 minutes", if nothing at all has been
> received yet in 1 minutes, the request will be automatically retried. The
> number of times of re-try is 3. So the squid returns timeout error (504)
in
> 3 minutes.
>  
> When squid conf is "read_timeout N minutes", where N=2 or 3, if nothing at
> all has been received yet in N minutes, the request will be automatically
> retried. The number of times of re-try is 2. So the squid returns timeout
> error (504) in 2*N minutes.
>  
> When squid conf is "read_timeout M minutes", where M>=4, if nothing at all
> has been received in M minutes, the request will NOT be retried, and the
> squid returns timeout error (504).
>  
> ---  End ------
>  
>  
> My questions are:
>  
> 1, Are the about behavior expected?  If it is expected, can you provide
more
> detailed explanation about the rule of re-trying.
> 2, Is there a way to configure the re-try behavior? e.g. the number of
times
> to retry, or to disable retry.
>  
> Thanks a lot,
>  
> Katie Wang
> Software Development
> VoiceGenie Technologies Inc
>  
> 
> 



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

  Powered by Linux