httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: increase socache_shmcb maximum size
Date Mon, 17 Jun 2013 15:34:55 GMT
On 17 Jun 2013, at 3:15 PM, Jens Låås <jelaas@gmail.com> wrote:

> Current maximum size of socache_shmcb is 64MB, which is rather small if you want to use
it with mod_cache_socache.
> Memory is cheap etc.
> 
> I also noticed that different data types seemed to be used to represent cache sizes:
apr_size_t and unsigned int.
> 
> Attached suggestion is to base the maximum size on apr_size_t. Sets max to half of maximum
representable by apr_size_t.

In theory we should just limit it to APR_SIZE_T_MAX, as you say the cache size can be large,
if it fits in RAM it fits in RAM.

Regards,
Graham
--


Mime
View raw message