fix logged long locked cache entry name and add count

This commit is contained in:
Igor Sysoev 2009-03-26 09:50:04 +00:00
parent 3afc10f507
commit 2f1a2f3d19

View File

@ -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) {