Re: [squid-users] Unable to cache object within Squid

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 27 Jun 2013 02:34:05 +1200

On 25/06/2013 5:51 p.m., Reid Watson wrote:
> Hi,
>
> We seem to be having a strange issue with SQUID caching an object once it has been purged - this issue does not occur with all objects within the cache..
>
> Quick Overview
>
> - Four Apache Server with Squid Installed
> - RedHat 5.7 i386
> - squid-3.1.8-1.el5
>
>
> Issue
>
> - Admin sends a Purge request simultaneously to all four server
>
> Example
> 1372113766.459 0 10.10.10.10 TCP_MISS/200 280 PURGE http://www.auckland.ac.nz/uoa/ - NONE/- -
>
> - Squid seems to fail on caching the object
> - All requests are sent to backend servers
>
> Server 1
> 1372113766.459 0 10.10.10.10 TCP_MISS/200 280 PURGE http://www.auckland.ac.nz/uoa/ - NONE/- -
> 372113766.779 23 10.10.10.3 TCP_MISS/504 5063 GET http://www.auckland.ac.nz/uoa/ - NONE/- text/html

What exactly is this 504 error saying?

> 1372114043.139 106378 127.0.0.1 TCP_MISS/200 9891 GET http://www.auckland.ac.nz/uoa/ - FIRST_UP_PARENT/vip-dr text/html
> 1372114043.303 10112 127.0.0.1 TCP_MISS/500 24731 GET http://www.auckland.ac.nz/uoa/ - ANY_PARENT/vip-dr text/html
> 1372114105.918 0 10.10.10.3 TCP_MISS/504 4591 GET http://www.auckland.ac.nz/uoa/ - NONE/- text/html
> 1372114106.414 57182 127.0.0.1 TCP_MISS/200 69995 GET http://www.auckland.ac.nz/uoa/ - FIRST_UP_PARENT/vip-dr text/html
> 1372114106.419 55771 127.0.0.1 TCP_MISS/200 45853 GET http://www.auckland.ac.nz/uoa/ - ANY_PARENT/vip-dr text/html
> 1372114106.436 17387 127.0.0.1 TCP_MISS/200 69967 GET http://www.auckland.ac.nz/uoa/ - FIRST_UP_PARENT/vip-dr text/html
> 1372114106.490 60516 127.0.0.1 TCP_MISS/200 70115 GET http://www.auckland.ac.nz/uoa/ - FIRST_UP_PARENT/vip-dr text/html
> 1372114106.707 58628 127.0.0.1 TCP_MISS/200 70115 GET http://www.auckland.ac.nz/uoa/ - ANY_PARENT/vip-dr text/html

And why are the 200 status when they do occur taking so very long to
generate?

> - if you send a reload command (/sbin/service squid reload) the object is stored within the cache instanlty

What are the headers sent from the origin server to Squid?

Amos
Received on Wed Jun 26 2013 - 14:34:11 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 26 2013 - 12:00:20 MDT