Cache always in "UPDATING"

Maxim Dounin mdounin at
Wed Sep 14 01:02:01 UTC 2016


On Tue, Sep 13, 2016 at 07:52:59PM -0400, vlad0 wrote:

> I'm having a problem that comes on goes the past months:
> The cache does not get updated as it seems to stay in "UPDATING" state. This
> issue comes at random times/days.


> We use epoll and aio threads. There is a subs_filter in the context and an
> "if" that doesn't match.
> We have very short timeouts.
> However we also use quite a lot of modules. Is it possible that a module
> crashed at a wrong moment and caused a request to be left in "updating" ?

Yes.  If there are any crashes you are quite likely to see various 
problems with cache, including cache items stuck in the "UPDATING" 

Maxim Dounin

More information about the nginx mailing list