RE: [users@httpd] Reverse Proxy Cache not Caching in 2.2.2

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

 



Yes, I confirm I'm running 2.2.2 and I have checked the patch that was provided for a similar problem in 2.2.0 has been applied.

Here are the logs for two consecutive requests for the same file:

[Tue May 30 11:29:34 2006] [debug] mod_cache.c(129): Adding CACHE_SAVE filter for /14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:34 2006] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL filter for /14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:34 2006] [debug] mod_proxy_http.c(54): proxy: HTTP: canonicalising URL //10.6.3.1/14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:34 2006] [debug] proxy_util.c(1378): [client 10.6.3.3] proxy: http: found worker http://10.6.3.1/ for http://10.6.3.1/14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:34 2006] [debug] mod_proxy.c(756): Running scheme http handler (attempt 0)
[Tue May 30 11:29:34 2006] [debug] mod_proxy_http.c(1662): proxy: HTTP: serving URL http://10.6.3.1/14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:34 2006] [debug] proxy_util.c(1798): proxy: HTTP: has acquired connection for (10.6.3.1)
[Tue May 30 11:29:34 2006] [debug] proxy_util.c(1858): proxy: connecting http://10.6.3.1/14k/13115/13115_418671A_18671_IMG_00_t.JPG to 10.6.3.1:80
[Tue May 30 11:29:34 2006] [debug] proxy_util.c(1951): proxy: connected /14k/13115/13115_418671A_18671_IMG_00_t.JPG to 10.6.3.1:80
[Tue May 30 11:29:34 2006] [debug] proxy_util.c(2045): proxy: HTTP: fam 2 socket created to connect to 10.6.3.1
[Tue May 30 11:29:34 2006] [debug] proxy_util.c(2141): proxy: HTTP: connection complete to 10.6.3.1:80 (10.6.3.1)
[Tue May 30 11:29:34 2006] [warn] [client 10.6.3.3] proxy: no HTTP 0.9 request (with no host line) on incoming request and preserve host set forcing hostname to be media.rightmove.co.uk for uri /14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:34 2006] [debug] mod_proxy_http.c(1448): proxy: start body send
[Tue May 30 11:29:34 2006] [debug] mod_cache.c(602): cache: Caching url: /14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:34 2006] [debug] mod_cache.c(608): cache: Removing CACHE_REMOVE_URL filter.
[Tue May 30 11:29:34 2006] [info] mem_cache: Cached url: http://media.rightmove.co.uk:80/14k/13115/13115_418671A_18671_IMG_00_t.JPG?
[Tue May 30 11:29:34 2006] [debug] mod_proxy_http.c(1537): proxy: end body send
[Tue May 30 11:29:34 2006] [debug] proxy_util.c(1816): proxy: HTTP: has released connection for (10.6.3.1)
[Tue May 30 11:29:57 2006] [debug] mod_cache.c(129): Adding CACHE_SAVE filter for /14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:57 2006] [debug] mod_cache.c(136): Adding CACHE_REMOVE_URL filter for /14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:57 2006] [debug] mod_proxy_http.c(54): proxy: HTTP: canonicalising URL //10.6.3.1/14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:57 2006] [debug] proxy_util.c(1378): [client 10.6.3.3] proxy: http: found worker http://10.6.3.1/ for http://10.6.3.1/14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:57 2006] [debug] mod_proxy.c(756): Running scheme http handler (attempt 0)
[Tue May 30 11:29:57 2006] [debug] mod_proxy_http.c(1662): proxy: HTTP: serving URL http://10.6.3.1/14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:57 2006] [debug] proxy_util.c(1798): proxy: HTTP: has acquired connection for (10.6.3.1)
[Tue May 30 11:29:57 2006] [debug] proxy_util.c(1858): proxy: connecting http://10.6.3.1/14k/13115/13115_418671A_18671_IMG_00_t.JPG to 10.6.3.1:80
[Tue May 30 11:29:57 2006] [debug] proxy_util.c(1951): proxy: connected /14k/13115/13115_418671A_18671_IMG_00_t.JPG to 10.6.3.1:80
[Tue May 30 11:29:57 2006] [debug] proxy_util.c(2045): proxy: HTTP: fam 2 socket created to connect to 10.6.3.1
[Tue May 30 11:29:57 2006] [debug] proxy_util.c(2141): proxy: HTTP: connection complete to 10.6.3.1:80 (10.6.3.1)
[Tue May 30 11:29:57 2006] [warn] [client 10.6.3.3] proxy: no HTTP 0.9 request (with no host line) on incoming request and preserve host set forcing hostname to be media.rightmove.co.uk for uri /14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:57 2006] [debug] mod_proxy_http.c(1448): proxy: start body send
[Tue May 30 11:29:57 2006] [debug] mod_cache.c(602): cache: Caching url: /14k/13115/13115_418671A_18671_IMG_00_t.JPG
[Tue May 30 11:29:57 2006] [debug] mod_cache.c(608): cache: Removing CACHE_REMOVE_URL filter.
[Tue May 30 11:29:57 2006] [info] mem_cache: Cached url: http://media.rightmove.co.uk:80/14k/13115/13115_418671A_18671_IMG_00_t.JPG?
[Tue May 30 11:29:57 2006] [debug] mod_proxy_http.c(1537): proxy: end body send
[Tue May 30 11:29:57 2006] [debug] proxy_util.c(1816): proxy: HTTP: has released connection for (10.6.3.1)


-----Original Message-----
From: Axel-Stéphane SMORGRAV [mailto:Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx] 
Sent: 31 May 2006 08:12
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] Reverse Proxy Cache not Caching in 2.2.2

This is definitely not the same problem. 

First of all the problem was fixed in 2.2.1 and the original poster reports using 2.2.2.

Second, I do not see any mention of caching the response under the key http://_default_:80/ like in your case.

Frankly, I do not see anything indicating the response is not cached or is cached under a key that does not correspond to the URL, in the logs posted. I would have liked to see the logs for two subsequent requests for the exact same URL though, because in this case we do not know whether the URL had been previously requested (and cached). 

The fact that the CACHE_SAVE filter is added means that all cache providers have declined to serve the request, i.e. no cache provider has an appropriate response.

-ascs

-----Original Message-----
From: Nathan Seven [mailto:scosol@xxxxxxxxxx]
Sent: Wednesday, May 31, 2006 12:15 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Reverse Proxy Cache not Caching in 2.2.2

I reported this earlier- it is an easy patch:

http://issues.apache.org/bugzilla/show_bug.cgi?id=38017

-SS

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs service. 
________________________________________________________________________

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux