aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-26 09:50:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-26 09:50:04 +0000
commit2f1a2f3d19c252fa68b0c07aa32ca4910536f034 (patch)
tree624b95bed0d97615bf23ddde1603b3051d92ce26 /src
parent3afc10f507b811a978b97580f07304c0cb243e1a (diff)
downloadnginx-2f1a2f3d19c252fa68b0c07aa32ca4910536f034.tar.gz
nginx-2f1a2f3d19c252fa68b0c07aa32ca4910536f034.zip
fix logged long locked cache entry name and add count
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_file_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
index 1e80a39ee..0cb81d934 100644
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -817,8 +817,8 @@ ngx_http_file_cache_expire(ngx_http_file_cache_t *cache, ngx_uint_t forced)
ngx_rbtree_delete(cache->rbtree, &fcn->node);
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0,
- "ignore long locked inactive cache entry %*s",
- NGX_HTTP_CACHE_KEY_LEN, key);
+ "ignore long locked inactive cache entry %*s, count:%d",
+ 2 * NGX_HTTP_CACHE_KEY_LEN, key, fcn->count);
}
if (tries++ < 10) {