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 15:43:59 UTC

[users@httpd] Re: mod_cache mod_mem_cache configurationproblem - cache not working

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


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