httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Seven <sco...@scosol.org>
Subject Re: [users@httpd] Reverse Proxy Cache not Caching in 2.2.2
Date Tue, 30 May 2006 22:14:52 GMT
I reported this earlier- it is an easy patch:

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

-SS


On May 30, 2006, at 2:23 AM, Mike Scott wrote:

> I'm trying to set up a reverse proxy cache to cache images in  
> memory, to
> relieve disk load on the server that's actually storing them.
>
> The reverse proxy part is working perfectly, but the files are not  
> being
> cached. Mod_proxy, mod_cache and mod_mem_cache are all compiled in,  
> and
> it's a 64-bit build running under Solaris 10 on Opteron.
>
> Here are the relevant parts of the config on the caching proxy:
>
> ProxyPass / http://10.6.3.1/
> ProxyPassReverse / http:/10.6.3.1/
> ProxyPreserveHost On
> CacheEnable mem /
> CacheDefaultExpire 900
> CacheLastModifiedFactor 0.05
> CacheMaxExpire 3600
> MCacheMaxObjectSize 8192
> MCacheMaxObjectCount 1000000
> MCacheRemovalAlgorithm GDSF
> MCacheSize 2048000
>
>
> I have logging set to DEBUG, and here is the log from a request:
>
> [Tue May 30 10:18:28 2006] [debug] mod_cache.c(129): Adding CACHE_SAVE
> filter for /14k/13115/13115_419067A_19067_IMG_00_t.JPG
> [Tue May 30 10:18:28 2006] [debug] mod_cache.c(136): Adding
> CACHE_REMOVE_URL filter for /14k/ 
> 13115/13115_419067A_19067_IMG_00_t.JPG
> [Tue May 30 10:18:28 2006] [debug] mod_proxy_http.c(54): proxy: HTTP:
> canonicalising URL //10.6.3.1/14k/ 
> 13115/13115_419067A_19067_IMG_00_t.JPG
> [Tue May 30 10:18:28 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_419067A_19067_IMG_00_t.JPG
> [Tue May 30 10:18:28 2006] [debug] mod_proxy.c(756): Running scheme  
> http
> handler (attempt 0)
> [Tue May 30 10:18:28 2006] [debug] mod_proxy_http.c(1662): proxy:  
> HTTP:
> serving URL http://10.6.3.1/14k/13115/13115_419067A_19067_IMG_00_t.JPG
> [Tue May 30 10:18:28 2006] [debug] proxy_util.c(1798): proxy: HTTP:  
> has
> acquired connection for (10.6.3.1)
> [Tue May 30 10:18:28 2006] [debug] proxy_util.c(1858): proxy:  
> connecting
> http://10.6.3.1/14k/13115/13115_419067A_19067_IMG_00_t.JPG to
> 10.6.3.1:80
> [Tue May 30 10:18:28 2006] [debug] proxy_util.c(1951): proxy:  
> connected
> /14k/13115/13115_419067A_19067_IMG_00_t.JPG to 10.6.3.1:80
> [Tue May 30 10:18:28 2006] [debug] proxy_util.c(2045): proxy: HTTP:  
> fam
> 2 socket created to connect to 10.6.3.1
> [Tue May 30 10:18:28 2006] [debug] proxy_util.c(2141): proxy: HTTP:
> connection complete to 10.6.3.1:80 (10.6.3.1)
> [Tue May 30 10:18:28 2006] [debug] mod_proxy_http.c(1448): proxy:  
> start
> body send
> [Tue May 30 10:18:28 2006] [debug] mod_cache.c(602): cache: Caching  
> url:
> /14k/13115/13115_419067A_19067_IMG_00_t.JPG
> [Tue May 30 10:18:28 2006] [debug] mod_cache.c(608): cache: Removing
> CACHE_REMOVE_URL filter.
> [Tue May 30 10:18:28 2006] [info] mem_cache: Cached url:
> http://media.rightmove.co.uk:80/14k/ 
> 13115/13115_419067A_19067_IMG_00_t.J
> PG?
> [Tue May 30 10:18:28 2006] [debug] mod_proxy_http.c(1537): proxy: end
> body send
> [Tue May 30 10:18:28 2006] [debug] proxy_util.c(1816): proxy: HTTP:  
> has
> released connection for (10.6.3.1)
>
>
> Mike Scott
>
> ______________________________________________________________________ 
> __
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message