Welcome! Log In Create A New Profile

Advanced

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

Игорь Хомяков
July 06, 2010 05:56AM
keys_zone size is not enough. increase it and reload nginx

On Mon, Jul 5, 2010 at 8:38 PM, Davide D'Amico
<davide.damico@contactlab.com> wrote:
> Hi,
> I'm setting up a nginx reverse proxy on fbsd 8.1rc2 with this server config:
>
> proxy_cache_path /usr/local/cache/zoneA levels=1:2 keys_zone=IMAGES:10m
> inactive=1h max_size=1g;
>
>
> After two days of running, I noticed in /var/log/nginx-error.log a lot of
> lines:
>
> 2010/07/05 11:46:36 [crit] 85688#0: ngx_slab_alloc() failed: no memory in
> cache keys zone "IMAGES"
> 2010/07/05 11:46:36 [crit] 85686#0: ngx_slab_alloc() failed: no memory in
> cache keys zone "IMAGES"
> 2010/07/05 11:46:36 [crit] 85690#0: ngx_slab_alloc() failed: no memory in
> cache keys zone "IMAGES"
>
>
> Why?
>
> Am I to increase keys_zone size?
>
> I'm reading: http://wiki.nginx.org/NginxHttpProxyModule#proxy_cache_path
> but it wasn't useful.
>
> Thanks in advance,
> d.
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



--
WBR
Igor Homyakov
System Administrator, Embria

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

ngx_slab_alloc() failed: no memory in cache keys zone

davide.damico July 05, 2010 12:42PM

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

Игорь Хомяков July 06, 2010 05:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 167
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready