Welcome! Log In Create A New Profile

Advanced

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Maxim Dounin
April 01, 2014 08:34AM
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

praveenkumar Muppala March 27, 2013 08:36AM

Re:ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

flygoast March 28, 2013 08:14AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Valentin V. Bartenev March 28, 2013 10:34AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

nxspeed March 24, 2014 03:06PM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

jakubp March 31, 2014 08:13PM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Maxim Dounin April 01, 2014 08:34AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

jakubp April 02, 2014 05:30AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Maxim Dounin April 02, 2014 08:22AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

jakubp April 02, 2014 07:41PM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Maxim Dounin April 03, 2014 07:36AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

jakubp May 08, 2014 05:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 70
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready