Re: [squid-users] original server down

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 20 Feb 2008 22:23:56 +1300

J. Peng wrote:
> this is my squid and its complied options:
>
> $ /usr/local/squid/sbin/squid -v
> Squid Cache: Version 2.6.STABLE18
> configure options: '--prefix=/usr/local/squid-2.6'
> '--enable-async-io=256' '--enable-epoll' '--disable-carp'
> '--enable-removal-policies=heap lru' '--disable-wccp'
> '--disable-wccpv2' '--enable-kill-parent-hack' '--with-large-files'
> '--with-maxfd=65535' '--disable-ident-lookups'
>
> thanks!
>
> On Wed, Feb 20, 2008 at 5:06 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>> J. Peng wrote:
>> > hello,
>> >
>> > How to handle the case of the original server was down? I use squid
>> > for reverse-proxy, if I add some lines like:
>> >
>> > cache_peer parentcache.example.com parent 80 0
>> > cache_peer childcache2.example.com sibling 80 0
>> > cache_peer childcache3.example.com sibling 80 0
>> >
>> > if original server was down, does squid go to query other caches like above?

Yes.

>> > Will squid get cache MISS object from its sibling?

Yes, IFF the sibling has it fresh.

>> > or it can only get
>> > cache MISS object from the parent?

Sources by preference I think are:
  local cache
  parent
  sibling
  direct

Amos

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Wed Feb 20 2008 - 02:23:43 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST