aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_palloc.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2016-03-18 15:08:21 +0300
committerDmitry Volyntsev <xeioex@nginx.com>2016-03-18 15:08:21 +0300
commitb18ba1e9f66cae6cc78b2e393e8ba9eb7223dc53 (patch)
tree031dabe548b6e01a1044d67e5d5802bcf43430b5 /src/core/ngx_palloc.c
parent861e75dc208d8568dca6025af54b5b24c17d873f (diff)
downloadnginx-b18ba1e9f66cae6cc78b2e393e8ba9eb7223dc53.tar.gz
nginx-b18ba1e9f66cae6cc78b2e393e8ba9eb7223dc53.zip
Cache: added watermark to reduce IO load when keys_zone is full.
When a keys_zone is full then each next request to the cache is penalized. That is, the cache has to evict older files to get a slot from the keys_zone synchronously. The patch introduces new behavior in this scenario. Manager will try to maintain available free slots in the keys_zone by cleaning old files in the background.
Diffstat (limited to 'src/core/ngx_palloc.c')
0 files changed, 0 insertions, 0 deletions