Re: [squid-users] cache hierarchy

From: Henrik Nordstrom <[email protected]>
Date: 03 Feb 2003 20:24:59 +0100

The ICP port number does not matter when using no-query. I usually use 0
to make it more obvious to the administrator that ICP is not used to
this peer.

If there is TIMEOUT then you have some peer which is using ICP. The
non-ICP peers are only considered after your ICP peers.

Regards
Henrik

m�n 2003-02-03 klockan 15.13 skrev Heinz Ahrens:
> Hallo,
>
> i use the no-query option:
>
> cache_peer 10.65.70.250 parent 8080 0 proxy-only no-query
>
> or must i use:
>
> cache_peer 10.65.70.250 parent 8080 7 proxy-only no-query
>
>
> My question:
>
> 1.) Who defines the TIMEOUT or why is there a timeout
> 2.) What is the difference to MISS/504, can it be a timeout beween the
> second and third cache ?
>
> I use:
>
> browser -> squid -> websweeper -> squid (caching) -> internet
>
>
> Greetings
>
> Heinz Ahrens
>
>
>
>
>
>
>
> > For non-ICP parents you should use the no-query cache_peer option...
> >
> > See also never_direct.
> >
> > Regards
> > Henrik
> >
> > m�n 2003-02-03 klockan 10.51 skrev Heinz Ahrens:
> > > Hallo squid-users,
> > >
> > > i have got a little question with squid hierachy. I use only parent
> > caches.
> > >
> > >
> > > In our network we use 3 cache-hirachy:
> > >
> > > 0. browser
> > > 1. squid-cache (user authentication, no caching, squidGuard, acl)
> > > 2. websweeper-cache (only parent, no icp, only content-filtering, no
> > > caching)
> > > 3. squid-cache (no user authentication, real cache)
> > > 4. internet
> > >
> > > I get different messages:
> > >
> > > a) TIMEOUT_FIRST_PARENT_MISS
> > >
> > > Is this a problem ? If Cache 1.) get a TIMOUT from all parents (Cache
> > 2.),
> > > what happens. Cache 1 do not know something about Cache 3.) Is it
> > possible
> > > that Cache 2.) gets a TIMEOUT from Cache 3.) and so the error is send to
> > Cache
> > > 1.) ???
> > >
> > > b) TCP_MISS/504 1081 POST http://www.gmx.de xf01070
> > > DEFAULT_PARENT/10.65.70.250 text/html
> > >
> > > Now i get a lot of 504-errors. But who generates the error ???
> > >
> > > - the Cache 1 because of TIMEOUT-definitions in squid.conf ?
> > > - the Cache 2 because he is the DEFAULT PARENT ?
> > > - the Cache 3 because he is the DEFAULT of the DEFAULT ?
> > > - the internet because of the error-code 504 ?
> > >
> > > How can i resolve the problem. I only get 504-errors with websweeper as
> > > Cache 2.)
> > >
> > >
> > > Greetings from Germany
> > >
> > > Heinz Ahrens
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > --
> > Henrik Nordstrom <hno@squid-cache.org>
> > MARA Systems AB, Sweden
> >
>

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Mon Feb 03 2003 - 12:25:06 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:13 MST