RE: [squid-users] Questions about Squid read_timeout and retrybehavior

From: Katie Wang <xwang@dont-contact.us>
Date: Thu, 25 May 2006 13:24:51 -0400

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@visolve.com]
Sent: Thursday, May 25, 2006 12:57 PM
To: Katie Wang
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] 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
>
>
>
Received on Thu May 25 2006 - 11:25:40 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT