Hello!

On Mon, Mar 31, 2014 at 08:13:20PM -0400, jakubp wrote:

> Hi
> 
> I am struggling with the very same issue at the moment...
> 
> If I read the right the code correctly all that nginx cares about is cache
> size, keys zone size is not checked at all (except when more space needs to
> be allocated).
> 
> ngx_http_file_cache_manager(void *data)
> {
> // <snip>
>         if (size < cache->max_size) {
>             return next;
>         }
> 
>         wait = ngx_http_file_cache_forced_expire(cache);
> 
> Are there any plans to monitor keys zone size and remove a chunk of LRU keys
> if it's close to being full?

Isn't max_size and inactive work for you?

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to