nginx cache exceeded, cache manager busy

zls nginx-forum at nginx.us
Sun Jun 12 18:34:21 MSD 2011


Still got core files from a clean nginx

[xxx nginx]# ./sbin/nginx -V
nginx: nginx version: nginx/1.0.4
nginx: TLS SNI support disabled
nginx: configure arguments: --with-pcre=/search/zls/nginx/pcre-8.12
--with-http_stub_status_module --with-http_ssl_module --with-debug
--prefix=/usr/local/nginx --with-http_realip_module

-rw------- 1 nobody nobody  1.2G Jun 12 15:02 core.25256
-rw------- 1 nobody nobody  1.2G Jun 12 18:18 core.30101

[xxx nginx]# file sbin/nginx
sbin/nginx: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
2.6.9, not stripped

bt1
(gdb) bt
#0  0x00000000004946a4 in ngx_http_proxy_add_x_forwarded_for_variable
(r=0x1037d250, v=0x214f80b8, data=0)
    at src/http/modules/ngx_http_proxy_module.c:1441
#1  0x0000000000459ced in ngx_http_get_indexed_variable (r=0x1037d250,
index=32) at src/http/ngx_http_variables.c:406
#2  0x000000000045eebf in ngx_http_script_copy_var_len_code
(e=0x7fffedf73280) at src/http/ngx_http_script.c:816
#3  0x0000000000493108 in ngx_http_proxy_create_request (r=0x1037d250)
at src/http/modules/ngx_http_proxy_module.c:928
#4  0x0000000000461888 in ngx_http_upstream_init_request (r=0x1037d250)
at src/http/ngx_http_upstream.c:488
#5  0x0000000000461625 in ngx_http_upstream_init (r=0x1037d250) at
src/http/ngx_http_upstream.c:429
#6  0x0000000000458c34 in ngx_http_do_read_client_request_body
(r=0x1037d250) at src/http/ngx_http_request_body.c:378
#7  0x0000000000458774 in ngx_http_read_client_request_body_handler
(r=0x1037d250) at src/http/ngx_http_request_body.c:251
#8  0x000000000044d8ee in ngx_http_request_handler (ev=0x2ac299c70248)
at src/http/ngx_http_request.c:1800
#9  0x00000000004361f3 in ngx_epoll_process_events (cycle=0x10171bc0,
timer=11, flags=1)
    at src/event/modules/ngx_epoll_module.c:635
#10 0x000000000042780c in ngx_process_events_and_timers
(cycle=0x10171bc0) at src/event/ngx_event.c:245
#11 0x0000000000434058 in ngx_worker_process_cycle (cycle=0x10171bc0,
data=0x0) at src/os/unix/ngx_process_cycle.c:800
#12 0x0000000000430e3d in ngx_spawn_process (cycle=0x10171bc0,
proc=0x433eac <ngx_worker_process_cycle>, data=0x0, 
    name=0x4c174e "worker process", respawn=-3) at
src/os/unix/ngx_process.c:196
#13 0x0000000000432f5e in ngx_start_worker_processes (cycle=0x10171bc0,
n=8, type=-3) at src/os/unix/ngx_process_cycle.c:360
#14 0x000000000043264a in ngx_master_process_cycle (cycle=0x10171bc0) at
src/os/unix/ngx_process_cycle.c:136
#15 0x0000000000405018 in main (argc=3, argv=0x7fffedf73c28) at
src/core/nginx.c:405
(gdb) p r->headers_in
$3 = {headers = {last = 0x1037d2c0, part = {elts = 0x214f8148, nelts =
10, next = 0x0}, size = 6073104097509113904, 
    nalloc = 3611940975614578772, pool = 0x440a0d4b4f203030}, host =
0x6e7553203a657461, connection = 0x6e754a203231202c, 
  if_modified_since = 0x3730203131303220, if_unmodified_since =
0x472031323a32303a, user_agent = 0x767265530a0d544d, 
  referer = 0x63617041203a7265, content_length = 0x6f502d580a0d6568,
content_type = 0x79422d6465726577, 
  range = 0x2e352f504850203a, if_range = 0x7078450a0d362e31,
transfer_encoding = 0x312d203a73657269, expect = 0x6e65746e6f430a0d, 
  accept_encoding = 0x6874676e654c2d74, via = 0x6e6f430a0d30203a,
authorization = 0x3a6e6f697463656e, 
  keep_alive = 0xa0d65736f6c6320, x_forwarded_for = 0x2d746e65746e6f43,
x_real_ip = 0x6574203a65707954, user = {
    len = 967268366709388408, data = 0xa0d0a <Address 0xa0d0a out of
bounds>}, passwd = {len = 0, data = 0x0}, cookies = {
    elts = 0x214f8508, nelts = 0, size = 8, nalloc = 2, pool =
0x214f7970}, server = {len = 24, 
    data = 0x214f855d
"xxxxxxx.xxxxx.xxxxu.comcontent-lengthconnectioncache-control"},
content_length_n = 728893, 
  keep_alive_n = -1, connection_type = 2, msie = 0, msie4 = 0, msie6 =
0, opera = 0, gecko = 0, chrome = 0, safari = 0, 
  konqueror = 0}

bt2

(gdb) bt
#0  0x0000003b13e7273e in free () from /lib64/libc.so.6
#1  0x0000000000407dc9 in ngx_destroy_pool (pool=0x10a18f80) at
src/core/ngx_palloc.c:63
#2  0x00000000004502f9 in ngx_http_close_connection (c=0x2ac29930e810)
at src/http/ngx_http_request.c:3047
#3  0x000000000044f7d4 in ngx_http_keepalive_handler
(rev=0x2ac299c0e910) at src/http/ngx_http_request.c:2693
#4  0x0000000000429ba0 in ngx_event_process_posted (cycle=0x105e24d0,
posted=0x6ee908) at src/event/ngx_event_posted.c:39
#5  0x0000000000427905 in ngx_process_events_and_timers
(cycle=0x105e24d0) at src/event/ngx_event.c:272
#6  0x0000000000434058 in ngx_worker_process_cycle (cycle=0x105e24d0,
data=0x0) at src/os/unix/ngx_process_cycle.c:800
#7  0x0000000000430e3d in ngx_spawn_process (cycle=0x105e24d0,
proc=0x433eac <ngx_worker_process_cycle>, data=0x0, 
    name=0x4c174e "worker process", respawn=-4) at
src/os/unix/ngx_process.c:196
#8  0x0000000000432f5e in ngx_start_worker_processes (cycle=0x105e24d0,
n=8, type=-4) at src/os/unix/ngx_process_cycle.c:360
#9  0x0000000000432b52 in ngx_master_process_cycle (cycle=0x105e24d0) at
src/os/unix/ngx_process_cycle.c:249
#10 0x0000000000405018 in main (argc=3, argv=0x7fffedf73c28) at
src/core/nginx.c:405

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,182995,206176#msg-206176




More information about the nginx mailing list