]> git.kaiwu.me - nginx.git/commit
Cache: only complain on long locked entries.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 12 Dec 2011 10:49:14 +0000 (10:49 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 12 Dec 2011 10:49:14 +0000 (10:49 +0000)
commit614a7ef18d6c35a6fefd478dda7e24d5b4e679ea
tree010ab73073970ed24ff158c380c5c9d2a42638c3
parent64a9f700929dbc8f0730be4f91cc3bbfde8fc3e6
Cache: only complain on long locked entries.

There have been multiple reports of cases where a real locked entry was
removed, resulting in a segmentation fault later in a worker which locked
the entry.  It looks like default inactive timeout isn't enough in real
life.

For now just ignore such locked entries, and move them to the top of the
inactive queue to allow processing of other entries.
src/http/ngx_http_file_cache.c