Martin Reissner wrote:
> Hello, I'm trying to set up a cache array with squid 2.6 and CARP.
> I started with a simple config like this:
>
> client-----childcache-----parentcache-----originserver
>
> The goal is to have the childcache work as a load-balancer in front of
> multiple parentcaches in the future.
> In addition I want to use the childcache as a hot-object cache that only
> stores the most frequently requested objects.
> At first I ran tests only with parentcache and originserver and everything
> is working fine and as expected.
> Then I added the childcache with following cache_peer line and I experience
> some unexpected behaviour:
>
> cache_peer ip_of_parentcache parent 80 0 no-query no-digest carp name=p1
>
> I noticed that the parentcache doesn't store an object that is requested
> from the childcache. When a client requests a fresh uncached object from
> the childcache the store.log of the childcache says SWAPOUT but the log on
> the parentcache RELEASE. Obviously when I clear the childcache the next
> request on that object gets forwarded to the originserver.
>
> Can someone point me in the right direction here or is this the default
> behaviour?
>
What are he URL looking like?
What is your full config at each level? (without comments and empty
lines please).
Amos
-- Please be using Current Stable Squid 2.7.STABLE6 or 3.0.STABLE16 Current Beta Squid 3.1.0.9Received on Fri Jul 17 2009 - 04:41:28 MDT
This archive was generated by hypermail 2.2.0 : Fri Jul 17 2009 - 12:00:03 MDT