You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by xgas <xg...@hot.ee> on 2010/04/23 11:23:53 UTC
[users@httpd] mod_cache mod_mem_cache configuration problem - cache not working
Hello,
I have problem where memory cache not working but disk cache works.
Am I missing something from configuration? mod_mem_cache is loaded.
Relevant part of configuration is following
#Memory cache
CacheEnable mem /energia-theme
CacheEnable disk /html
CacheEnable mem /
#Max cache size in kilobytes
MCacheSize 1024
#approximately 10 MB
MCacheMaxObjectSize 10240
#CacheEnable disk /html
#CacheDisable /
CacheRoot /tmp/apache_cache
#CacheIgnoreCacheControl On
CacheMaxExpire 120
CacheDefaultExpire 120
CacheIgnoreHeaders Cookie
Raino
---------------------------------------------------------------------
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
Re: [users@httpd] Re: mod_cache mod_mem_cache configurationproblem -
cache not working
Posted by Jeff Trawick <tr...@gmail.com>.
On Fri, Apr 23, 2010 at 9:43 AM, xgas <xg...@hot.ee> wrote:
> Hi,
>
> It seems that apache with prefork has different mem cache space for each
> fork. At least this is my asumption, because multipel time of refresh
> shows that sometimee the cache was hitted sometimes not.
yes, that is the correct explanation
mod_mem_cache has a per-process, in-memory cache
---------------------------------------------------------------------
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
[users@httpd] Re: mod_cache mod_mem_cache configurationproblem - cache not working
Posted by xgas <xg...@hot.ee>.
Hi,
It seems that apache with prefork has different mem cache space for each
fork. At least this is my asumption, because multipel time of refresh
shows that sometimee the cache was hitted sometimes not.
Raino
> On 2010-04-23 at 05:23, xgas <xg...@hot.ee> wrote:
>
> > Hello,
> >
> > I have problem where memory cache not working but disk cache works.
> >
> > Am I missing something from configuration? mod_mem_cache is loaded.
>
> Error log? And set "LogLevel debug" to get a better idea of what the
> cache is doing.
>
> ---------------------------------------------------------------------
> 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
[users@httpd] Re: mod_cache mod_mem_cache configuration problem - cache not
working
Posted by Dan Poirier <po...@pobox.com>.
On 2010-04-23 at 05:23, xgas <xg...@hot.ee> wrote:
> Hello,
>
> I have problem where memory cache not working but disk cache works.
>
> Am I missing something from configuration? mod_mem_cache is loaded.
Error log? And set "LogLevel debug" to get a better idea of what the
cache is doing.
---------------------------------------------------------------------
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