Re: [squid-users] Squid error BUG 3279: HTTP reply without Date:

2017-01-31 Thread Amos Jeffries
On 1/02/2017 4:09 p.m., Tory M Blue wrote:
> I moved to a different disk today. System was down, I rsyncd the cache
> directory over, including everything and the swap files etc. Squid starts
> just fine but Im seeing this error once a minute or more.
> 
> Also note, I stopped the system, moved it back to the original disk and I'm
> getting these errors. Nothing has changed on the original disk, so i'm
> unclear what is happening here.
> 
> 
> Any ideas?
> 
> 
> Older version *squid*-3.3.8, on CentOS7
> 

Squid is loading things that were provided to it without a Date header
out of the cache. It cannot handle that. Current versions will
synthesize a Date and Last-Modified if needed - which resolves most
cases of this problem. 3.3 does not have that improvement, it just
detects the bug and warns as it drops the object.

This can happen if you have refresh_pattern config options overriding
various of the caching headers. Squid can be fooled by those
override-*/ignore-* options into thinking it can re-use the object but
realy it lacks the headers to do so.

The warnings should gradually disappear as the old data in the cache
gets found and dropped. If it continues you should consider an upgrade.
You can find more up to date packages for CentOS at the links here:



Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid error BUG 3279: HTTP reply without Date:

2017-01-31 Thread Tory M Blue
On Tue, Jan 31, 2017 at 7:29 PM, Amos Jeffries  wrote:

> On 1/02/2017 4:09 p.m., Tory M Blue wrote:
> > I moved to a different disk today. System was down, I rsyncd the cache
> > directory over, including everything and the swap files etc. Squid starts
> > just fine but Im seeing this error once a minute or more.
> >
> > Also note, I stopped the system, moved it back to the original disk and
> I'm
> > getting these errors. Nothing has changed on the original disk, so i'm
> > unclear what is happening here.
> >
> >
> > Any ideas?
> >
> >
> > Older version *squid*-3.3.8, on CentOS7
> >
>
> Squid is loading things that were provided to it without a Date header
> out of the cache. It cannot handle that. Current versions will
> synthesize a Date and Last-Modified if needed - which resolves most
> cases of this problem. 3.3 does not have that improvement, it just
> detects the bug and warns as it drops the object.
>
> This can happen if you have refresh_pattern config options overriding
> various of the caching headers. Squid can be fooled by those
> override-*/ignore-* options into thinking it can re-use the object but
> realy it lacks the headers to do so.
>
> The warnings should gradually disappear as the old data in the cache
> gets found and dropped. If it continues you should consider an upgrade.
> You can find more up to date packages for CentOS at the links here:
> 
>
>
Thanks Amos, glad to see you are still around kicking!!

refresh_pattern . 0 0% 0 ignore-reload , that's what I have in my config.
Anything I can do here to sway it from being whiney :)

And ya i'm a bit behind for sure!!

Tory
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Squid error BUG 3279: HTTP reply without Date:

2017-02-01 Thread Amos Jeffries
On 1/02/2017 4:47 p.m., Tory M Blue wrote:
> 
> Thanks Amos, glad to see you are still around kicking!!
> 
> refresh_pattern . 0 0% 0 ignore-reload , that's what I have in my config.
> Anything I can do here to sway it from being whiney :)
> 
> And ya i'm a bit behind for sure!!
> 
> Tory
> 

Okay. Nothing that I'm aware of in the config.

There is a patch to silence it again, but if you are re-building you
might a well build the latest and do the upgrade.

Amos

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users