We have a setup with a number of identical application servers running on 
Windows 2003 Server. On each server there is an instance of Squid (2.6 stable 
18) that runs as an accelerator. The accelerator mode seems to work fine when 
each Squid instance is only accelerating "its own" application server but we 
would like the Squids to run as siblings and we have not been able to get it to 
work.

Even though the objects are cached by Squid on one machine calls from a sibling 
generates a combination of:

UDP_HIT/000
TCP_MISS/504

It looks like the ICP call indicates a hit but when a Squid tries to retrieve 
the cached object it is not found in the cache. The max-age and expire headers 
are set to allow caching for weeks (and it does work when the Squids are 
accelerating only its own origin server), cache-control is set to public and no 
other headers have been set.

If we add allow_miss for the cache_peer tags then the objects will be retrieved 
but they will come from the sibling's origin server and not from the cache so 
it looks like the communication works.

Does anyone have an idea what could cause this behaviour?

Kind regards,
Patrik Ellrén
Carmenta AB

Reply via email to