File cache inactive queue full

Maxim Dounin mdounin at
Sat Sep 2 12:35:11 UTC 2017


On Fri, Sep 01, 2017 at 03:55:57PM -0300, Vinicius Mignot wrote:

> I’m facing some problems when file cache is being cleaned by 
> hitting watermark. Some files are not deleted after getting in 
> expiring criteria, they just keep being moved to the head of the 
> inactive queue. After some time, all top positions are filled 
> and no files are removed anymore. 

This can happen in two basic cases:

1. There is a socket leak somewhere, and leaked connections keep 
reference counts of relevant cache nodes incremented.  As of now, 
there are some reports of socket leak problem somewhere in HTTP/2 
code, see

2. There are worker crashes.

Both cases should be clearly visible in logs.  Leaks are reported 
during worker shutdown, and crashes are reported as they happen.

Maxim Dounin

More information about the nginx-devel mailing list