Re: [squid-users] original server down

2008-02-24 Thread Henrik Nordström
ons 2008-02-20 klockan 22:23 +1300 skrev Amos Jeffries:

> >>  > Will squid get cache MISS object from its sibling?
> 
> Yes, IFF the sibling has it fresh.

Which requires a peering method. I.e. ICP/HTCP/Cache Digests.

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: [squid-users] original server down

2008-02-20 Thread Amos Jeffries

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 <[EMAIL PROTECTED]> 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.


Re: [squid-users] original server down

2008-02-20 Thread J. Peng
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 <[EMAIL PROTECTED]> 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?
>  > Will squid get cache MISS object from its sibling? or it can only get
>  > cache MISS object from the parent?
>
>  Which version of squid? They all have different capabilities for this.
>
>
>  Amos
>  --
>  Please use Squid 2.6STABLE17+ or 3.0STABLE1+
>  There are serious security advisories out on all earlier releases.
>


Re: [squid-users] original server down

2008-02-20 Thread Amos Jeffries

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?
Will squid get cache MISS object from its sibling? or it can only get
cache MISS object from the parent?


Which version of squid? They all have different capabilities for this.


Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.