RE: [squid-users] Questions about Squid read_timeout and retrybehavior
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:[EMAIL PROTECTED] 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 > > >
RE: [squid-users] Questions about Squid read_timeout and retrybehavior
Thanks, Hernik. I tried maximum_single_addr_tries, it seems not working. When I set maximum_single_addr_tries to 1 and read_timeout to 1 minutes, the request is still automatically retried 3 times. Retry_on_error is not available for Squid Version 2.5.STABLE5 that I am using. Do you have any further suggestions? Thanks, Katie -Original Message- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 11:21 AM To: Katie Wang Cc: squid-users@squid-cache.org Subject: Re: [squid-users] Questions about Squid read_timeout and retrybehavior tis 2006-05-23 klockan 17:32 -0400 skrev Katie Wang: > 1, Are the about behavior expected? Yes, but depends a bit on your config and location (i.e. directly connected or using peers). > If it is expected, can you provide more > detailed explanation about the rule of re-trying. not sure there is a concise document explaining all conditions. > 2, Is there a way to configure the re-try behavior? e.g. the number of times > to retry, or to disable retry. See maximum_single_addr_tries retry_on_error for some. But there is more retry conditions than the above... Regards Henrik
[squid-users] Questions about Squid read_timeout and retry behavior
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