Welcome! Log In Create A New Profile

Advanced

Re: Cache doesn't expire as should

Maxim Dounin
December 22, 2015 08:50AM
Hello!

On Tue, Dec 22, 2015 at 02:43:11PM +0300, Руслан Закиров wrote:

[...]

> Our error log has "ignore long locked inactive cache entry" alerts, but I
> really couldn't match it to "defreeze" event. Access log has STALE/UPDATING
> requests between the alert and EXPIRED (cache updating) request.

The "ignore long locked inactive cache entry" alerts indicate that
a cache entry was locked by some request, and wasn't unlocked for
a long time. The alert is expected to appear if a cache node is
locked for cache inactive time (as set by proxy_cache_path
inactive=, 10 minutes by default).

Most likely reason is that a worker died or was killed
while holding a lock on a cache node (i.e., while a request was
waiting for a new response from a backend).

Trivial things to consider:

- check logs for segmentation faults;

- if you are using 3rd party modules / patches, try without them;

- make sure you don't kill worker processes yourself or using some
automation scripts (in particular, don't try to terminate old
worker processes after a configuration reload).

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

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

Cache doesn't expire as should

Руслан Закиров December 22, 2015 06:44AM

Re: Cache doesn't expire as should

itpp2012 December 22, 2015 07:42AM

Re: Cache doesn't expire as should

Руслан Закиров December 22, 2015 08:08AM

Re: Cache doesn't expire as should

itpp2012 December 22, 2015 08:39AM

Re: Cache doesn't expire as should

Руслан Закиров December 22, 2015 05:56PM

Re: Cache doesn't expire as should

Maxim Dounin December 22, 2015 08:50AM

Re: Cache doesn't expire as should

Руслан Закиров December 23, 2015 04:00AM

Re: Cache doesn't expire as should

Maxim Dounin December 23, 2015 10:38AM

Re: Cache doesn't expire as should

Руслан Закиров December 23, 2015 11:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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