# HG changeset patch # User Igor Sysoev # Date 1238061004 0 # Node ID 2a35ed59827d2bca3ae17d5d158538282001e6fb # Parent f9bd7999eb088dca2da22099ac4911356438eae7 fix logged long locked cache entry name and add count 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 @@ -817,8 +817,8 @@ ngx_http_file_cache_expire(ngx_http_file 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) {