Search squid archive

Re: Some puzzle with squid!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



auser wrote:
> Hi,all:    
>     I have a puzzle with between apache2.2 and squid. I have three apache
> server with same configuration and only with apache service.And to squid 
> server in front of apache server to cache my websites.
> (By the way, i used apache1.3 all the time before and working well.)
>     I use apche control cache time.And i set 15days with types of *.js.When I
> check http reponse , i find all time set is right!
> HTTP/1.1 200 OK
> Date: Tue, 18 Dec 2007 03:32:09 GMT
> Server: Apache/2.2.6 (Unix)
> Last-Modified: Wed, 14 Nov 2007 08:34:31 GMT
> ETag: "178505d-16a2-43edf6f31b3c0"
> Accept-Ranges: bytes
> Cache-Control: max-age=1296000
> Expires: Wed, 02 Jan 2008 03:32:09 GMT
> Vary: Accept-Encoding,User-Agent
> Content-Encoding: gzip
> Content-Length: 1556
> Content-Type: application/javascript
> X-Zip-Status: request=gzip:this; respond=vary
> Age: 649
>     But when i check access_log, i found too many request from squid server with
> *.js types ,and the request so high frequency.
> 10.0.121.12 - - [18/Dec/2007:11:40:07 +0800] "GET /chinabank.js HTTP/1.1" 200 841
> 10.0.121.3 - - [18/Dec/2007:11:40:07 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 200 1556
> 10.0.251.206 - - [18/Dec/2007:11:40:07 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:08 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:09 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:09 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:10 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:10 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.121.3 - - [18/Dec/2007:11:40:11 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:11 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:12 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:12 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:14 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:15 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:16 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.250.217 - - [18/Dec/2007:11:40:16 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.121.12 - - [18/Dec/2007:11:40:17 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:17 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 200 5794
> 10.0.251.206 - - [18/Dec/2007:11:40:18 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 -
> 10.0.251.206 - - [18/Dec/2007:11:40:19 +0800] "GET /newjs/hexunjs.js HTTP/1.1" 304 - 
> 
>     I relly don't how to deal with,Thank you for your help! 
>     Is it problem with apache ro squid ?

Ah, well you seem to have all the settings needed to trigger a bug in
Apache. Start by trying with this option to let squid ignore it:
http://www.squid-cache.org/Versions/v2/2.6/cfgman/broken_vary_encoding.html

If the problems remains it may be a bug in squid and we shall test it
further.

Thank you.
Amos
-- 
Please use Squid 2.6STABLE17 or 3.0STABLE1.
There are serious security advisories out on all earlier releases.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux