[squid-users] PURGE ERR_TOO_BIG

Amos Jeffries squid3 at treenet.co.nz
Fri Mar 11 03:22:55 UTC 2016


On 11/03/2016 12:43 p.m., joe wrote:
> trying to purge url 
> squidclient -h192.192.192.212 -p3128 PURGE
> http://www.oggi.it/global_assets/js/searchform.js
> 
> <div id="footer">
> <p>Generated Fri, 11 Mar 2016 00:08:34 GMT by proxy.netgatesss.com
> (squid)</p>
> 
> </div>
> </body></html>
> debug_options ALL,2


You cannot purge something which is not in the cache.

NP: PURGE always says success if the object is not cached at the end of
the processing.


This is the problem:

> 2016/03/11 02:11:20.642 kid1| ctx: enter level  0:
> 'http://www.oggi.it/global_assets/js/searchform.js'
> 2016/03/11 02:11:20.642 kid1| HttpMsg::parse: Too large reply header (0 >
> 65536

Weird. 0 is not bigger than 64KB. That is definitely a bug somewhere in
there.


> 2016/03/11 02:11:20.901 kid1| ctx: exit level  0
> 2016/03/11 02:11:20.901 kid1| 17,2| FwdState.cc(655)
> handleUnregisteredServerEnd: self=0x3197708*2 err=0x2f87558
> http://www.oggi.it/global_assets/js/searchform.js
> 2016/03/11 02:11:20.901 kid1| 4,2| errorpage.cc(1262) BuildContent: No
> existing error page language negotiated for ERR_TOO_BIG. Using default error
> file.

The above mistake causes Squid to generate a 502 itself.


> 2016/03/11 02:11:20.902 kid1| 11,2| client_side.cc(1391) sendStartOfMessage:
> HTTP Client local=192.192.192.212:3128 remote=192.192.192.212:46799 FD 8
> flags=1
> 2016/03/11 02:11:20.902 kid1| 11,2| client_side.cc(1392) sendStartOfMessage:
> HTTP Client REPLY:
> ---------
> HTTP/1.1 502 Bad Gateway
> Server: squid
> Mime-Version: 1.0
> Date: Fri, 11 Mar 2016 00:11:20 GMT
> Content-Type: text/html;charset=utf-8
> Content-Length: 3876
> X-Squid-Error: ERR_TOO_BIG 0
> X-Cache: MISS from proxy.netgatesss.com
> Connection: close
> 
> 
> ----------
> 2016/03/11 02:11:20.902 kid1| 20,2| store.cc(954) checkCachable:
> StoreEntry::checkCachable: NO: not cachable

The 502 which was generated by your Squid is not being cached.

Amos


More information about the squid-users mailing list