Welcome! Log In Create A New Profile

Advanced

Re: nginx cache - could not allocate node in cache keys zone

CJ Ess
March 10, 2016 04:20PM
I will try that now - but shouldn't it be evicting a key if it can't fit a
new one?


On Thu, Mar 10, 2016 at 2:38 PM, Richard Stanway <r1ch+nginx@teamliquid.net>
wrote:

> At a guess I would say your key zone is full. Try increasing the size of
> it.
>
> On Thu, Mar 10, 2016 at 8:07 PM, CJ Ess <zxcvbn4038@gmail.com> wrote:
>
>> This is nginx/1.9.0 BTW
>>
>>
>> On Thu, Mar 10, 2016 at 2:06 PM, CJ Ess <zxcvbn4038@gmail.com> wrote:
>>
>>> Same condition on two more of the servers in the same pool. Reload
>>> doesn't resolve the issue, but restart does. No limit being hit on disk
>>> space, inodes, open files, or memory.
>>>
>>>
>>> On Thu, Mar 10, 2016 at 12:12 PM, CJ Ess <zxcvbn4038@gmail.com> wrote:
>>>
>>>> I have four servers in a pool running nginx with proxy_cache. One of
>>>> the nodes started spewing "could not allocate node in cache keys zone"
>>>> errors for every request (which gave 500 status). I did a restart and it
>>>> started working again.
>>>>
>>>> What conditions cause that error in general?
>>>>
>>>> If it happens again is there anything I can do to try and determine the
>>>> root cause?
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx cache - could not allocate node in cache keys zone

CJ Ess March 10, 2016 12:14PM

Re: nginx cache - could not allocate node in cache keys zone

CJ Ess March 10, 2016 02:08PM

Re: nginx cache - could not allocate node in cache keys zone

Richard Stanway March 10, 2016 02:40PM

Re: nginx cache - could not allocate node in cache keys zone

CJ Ess March 10, 2016 04:20PM

Re: nginx cache - could not allocate node in cache keys zone

CJ Ess March 10, 2016 05:08PM

Re: nginx cache - could not allocate node in cache keys zone

CJ Ess March 10, 2016 02:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 216
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