# HG changeset patch # User Igor Sysoev # Date 1314293374 0 # Node ID e2c075e774b60f2150c4d21a6d2695c08e1283df # Parent 4e1a489c26cd1678e605e276a89132f00bc765d4 Cache size accounting fix: actual cache size on disk was less than needed by sum of sizes of files loaded by worker processes themselves while cache loader was running. The bug has been introduced in r3900. diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -408,6 +408,7 @@ ngx_http_file_cache_read(ngx_http_reques c->node->body_start = c->body_start; c->node->exists = 1; c->node->uniq = c->uniq; + c->node->fs_size = c->fs_size; cache->sh->size += c->fs_size; }