On Jun 17, 2013, at 11:34 AM, Graham Leggett <minf...@sharp.fm> wrote:

> On 17 Jun 2013, at 3:15 PM, Jens Låås <jel...@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.
> 

+1

Reply via email to