httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: mod_mem_cache bad for large/busy files (Was: [PATCH] remove some mutex locks in the worker MPM)
Date Fri, 03 Jan 2003 06:00:12 GMT
Bill Stoddard wrote:

> - It's probably worth noting in the doc that -each- child process will cache up
> to MCacheSize KBytes.  If you have 10 child processes, then you need
> 10xMCacheSize Kbytes RAM available just for the cache (the same files could be
> cached in each process). I wonder if we should, at startup, allocate MCacheSize
> KB of shared storage and have mod_mem_cache allocate out of the shared pool.
> Each child process would have it's own unique reference to the object, but the
> object itself would only be cached once for all processes to access.

The idea originally was to have a separate module called mod_shmem_cache 
that did this for systems that needed it, or we can make mod_mem_cache 
cleverer. I prefer the separate module though.

-----------------------------------------		"There's a moon
					over Bourbon Street

View raw message