Re: Accelerator mode: connect retry possible?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 12 Apr 1999 22:12:32 +0200

Andreas J. Koenig wrote:

> I'm using squid in accelerator mode only and I haven't yet found a way
> to let squid retry to connect to the backend apache if a connect
> fails. Squid aborts immediately with an error message.

It does, but very fast. If your OS has the IP interface enabled any
instance when Apache is not listening then Squid will quickly give up.

What you can do is to set up the backend server on an virtual IP
interface which is brought up after Apache is started, and brought down
before Apache is shut down. This way Squid will properly retry
connections until the backend server is online again.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Mon Apr 12 1999 - 16:24:28 MDT

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