Re: Retry patch ,ERR_C0NNECT_FAIL too!

From: Michael Pelletier <mikep@dont-contact.us>
Date: Tue, 7 Apr 1998 10:03:15 -0400 (EDT)

On 5 Apr 1998, Riccardo Vratogna wrote:

> I've apply the retry patch, and it work better.
> But for example i'm unable to show certain site such as:
>
> www.hollywood.com
>
> It report: (111) Connection refused
>
> In the log any retray are made:
>
> 1998/04/05 20:52:13| ERR_CONNECT_FAIL: http://www.hollywood.com/
> 1998/04/05 20:52:15| ERR_CONNECT_FAIL: http://www.hollywood.com/
> 1998/04/05 20:52:19| ERR_CLIENT_ABORT: http://www.sexhound.com/index.cgi

I get the following:

1998/04/07 09:54:14| www.hollywood.com(207.240.151.12) marked bad
1998/04/07 09:54:14| commConnectHandle: FD 17
        www.hollywood.com[207.240.151.13] conn suceeded (try 2)

(Note the differing IP addresses for the two attempts) Make sure your
debug_options are set properly in squid.conf, mine are set to ALL,1. The
best way to look for the functioning of the retry patch in your log file
is:

        egrep 'try|mark' cache.log

Also, make sure that your Squid has the retry patch enabled. Your startup
banner should look like this:

1998/04/07 09:51:30| Restarting Squid Cache (version 1.1.20+retry)...
                                                           ^^^^^^
If you don't have the "+retry" in the version number, the connection-retry
patch is not enabled. Also, take a look at your IPcache contents - you
should see each address marked either "OK" or "BAD". Another possibility
might be your squid.conf options pertaining to single-address retries, but
in this case, www.hollywood.com has three addresses, so that's not the
issue.

        -Mike Pelletier.
Received on Tue Apr 07 1998 - 07:08:09 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:37 MST