hanging on ngx_free(file->name) in function ngx_close_cached_file()
YongFeng Wu
ywu at about.com
Mon Aug 6 15:45:35 UTC 2012
Hi All,
It's not often, but sometimes an worker process can hang on the
"ngx_free(file->name)" in function ngx_close_cached_file(). Following is
part of GDB backtrace:
(gdb) bt
#0 0x0000000800f5e7b9 in _pthread_mutex_init_calloc_cb () from
/lib/libc.so.7
#1 0x0000000800f62f4d in free () from /lib/libc.so.7
#2 0x0000000000423537 in ngx_close_cached_file (cache=0x8012495f8,
file=0x8090f1700, min_uses=0, log=0x8031bc160)
at src/core/ngx_open_file_cache.c:1021
#3 0x000000000042383e in ngx_expire_old_cached_files (cache=0x8012495f8,
n=2, log=0x8031bc160)
at src/core/ngx_open_file_cache.c:1090
#4 0x000000000042392b in ngx_open_file_cleanup (data=0x80527eee8) at
src/core/ngx_open_file_cache.c:973
#5 0x00000000004082ad in ngx_destroy_pool (pool=0x8032b9000) at
src/core/ngx_palloc.c:54
#6 0x00000000004512eb in ngx_http_free_request (r=0x801206000, rc=0) at
src/http/ngx_http_request.c:3196
..
The memory for file->name is perfect and not corrupted.
We are running on FreeBSD 7.4.
Anybody had the same problem or know anything about it?
Thank you very much
Yong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120806/adccb7a5/attachment.html>
More information about the nginx-devel
mailing list