worker'ы падают

Alexander Kochetov kochetov.alexander at gmail.com
Tue Sep 8 23:18:35 MSD 2009


Добрый день.

nginx version: nginx/0.7.61
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--with-debug --http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-log-path=/var/log/nginx-access.log --with-http_flv_module
--with-http_realip_module --with-http_stub_status_module --with-pcre


Воркеры массово падают on signal 10:

2009/09/08 23:11:34 [alert] 2816#0: worker process 75959 exited on
signal 10 (core dumped)
2009/09/08 23:11:34 [notice] 2816#0: start worker process 77776
2009/09/08 23:11:34 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:11:34 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:11:34 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:11:34 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:11:34 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:13:09 [notice] 2816#0: signal 20 (SIGCHLD) received
2009/09/08 23:13:09 [alert] 2816#0: worker process 75822 exited on
signal 10 (core dumped)
2009/09/08 23:13:09 [notice] 2816#0: start worker process 78462
2009/09/08 23:13:09 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:13:09 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:13:09 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:13:09 [notice] 2816#0: signal 20 (SIGCHLD) received
2009/09/08 23:13:09 [alert] 2816#0: worker process 73634 exited on
signal 10 (core dumped)
2009/09/08 23:13:09 [notice] 2816#0: start worker process 78468
2009/09/08 23:13:09 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:13:09 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:13:09 [notice] 2816#0: signal 20 (SIGCHLD) received
2009/09/08 23:13:09 [alert] 2816#0: worker process 75427 exited on
signal 10 (core dumped)
2009/09/08 23:13:09 [notice] 2816#0: start worker process 78469
2009/09/08 23:13:09 [notice] 2816#0: signal 23 (SIGIO) received
2009/09/08 23:13:09 [notice] 2816#0: signal 23 (SIGIO) received


gdb /usr/local/sbin/nginx core
bt

говорит:


#0  0x0000000000474197 in ngx_http_ssi_get_variable (r=0x60f800,
name=0x7fffffffd970, key=96204151509981258) at
src/http/modules/ngx_http_ssi_filter_module.c:1547
1547            if (name->len != var[i].name.len) {
(gdb) bt
#0  0x0000000000474197 in ngx_http_ssi_get_variable (r=0x60f800,
name=0x7fffffffd970, key=96204151509981258) at
src/http/modules/ngx_http_ssi_filter_module.c:1547
#1  0x00000000004746b6 in ngx_http_ssi_evaluate_string (r=0x60f800,
ctx=0x97b0d0, text=0x7fffffffde70, flags=0) at
src/http/modules/ngx_http_ssi_filter_module.c:1700
#2  0x000000000047618c in ngx_http_ssi_if (r=0x60f800, ctx=0x97b0d0,
params=0x7fffffffdf00) at
src/http/modules/ngx_http_ssi_filter_module.c:2369
#3  0x00000000004728b0 in ngx_http_ssi_body_filter (r=0x60f800,
in=0x97b450) at src/http/modules/ngx_http_ssi_filter_module.c:793
#4  0x0000000000409814 in ngx_output_chain (ctx=0x97b378,
in=0x7fffffffe220) at src/core/ngx_output_chain.c:201
#5  0x000000000044c0d2 in ngx_http_copy_filter (r=0x60f800,
in=0x7fffffffe220) at src/http/ngx_http_copy_filter_module.c:110
#6  0x00000000004652d7 in ngx_http_range_body_filter (r=0x60f800,
in=0x7fffffffe220) at
src/http/modules/ngx_http_range_filter_module.c:555
#7  0x0000000000439d9f in ngx_http_output_filter (r=0x60f800,
in=0x7fffffffe220) at src/http/ngx_http_core_module.c:1684
#8  0x0000000000462e9f in ngx_http_static_handler (r=0x60f800) at
src/http/modules/ngx_http_static_module.c:258
#9  0x0000000000438ed0 in ngx_http_core_content_phase (r=0x60f800,
ph=0x7b16b8) at src/http/ngx_http_core_module.c:1256
#10 0x0000000000437be2 in ngx_http_core_run_phases (r=0x60f800) at
src/http/ngx_http_core_module.c:788
#11 0x0000000000437b58 in ngx_http_handler (r=0x60f800) at
src/http/ngx_http_core_module.c:771
#12 0x000000000043b143 in ngx_http_internal_redirect (r=0x60f800,
uri=0x7fffffffe470, args=0x60fb18) at
src/http/ngx_http_core_module.c:2182
#13 0x000000000046367a in ngx_http_index_handler (r=0x60f800) at
src/http/modules/ngx_http_index_module.c:264
#14 0x0000000000438ed0 in ngx_http_core_content_phase (r=0x60f800,
ph=0x7b1688) at src/http/ngx_http_core_module.c:1256
#15 0x0000000000437be2 in ngx_http_core_run_phases (r=0x60f800) at
src/http/ngx_http_core_module.c:788
#16 0x0000000000437b58 in ngx_http_handler (r=0x60f800) at
src/http/ngx_http_core_module.c:771
#17 0x00000000004449d0 in ngx_http_process_request (r=0x60f800) at
src/http/ngx_http_request.c:1557
#18 0x0000000000443539 in ngx_http_process_request_headers
(rev=0xf05390) at src/http/ngx_http_request.c:1019
#19 0x0000000000442d3d in ngx_http_process_request_line (rev=0xf05390)
at src/http/ngx_http_request.c:829
#20 0x00000000004424f7 in ngx_http_init_request (rev=0xf05390) at
src/http/ngx_http_request.c:505
#21 0x0000000000425d4c in ngx_event_process_posted (cycle=0x61e050,
posted=0x5b79e0) at src/event/ngx_event_posted.c:39
#22 0x00000000004239b5 in ngx_process_events_and_timers
(cycle=0x61e050) at src/event/ngx_event.c:272
#23 0x0000000000430137 in ngx_worker_process_cycle (cycle=0x61e050,
data=0x0) at src/os/unix/ngx_process_cycle.c:775
#24 0x000000000042d2d1 in ngx_spawn_process (cycle=0x61e050,
proc=0x42ff70 <ngx_worker_process_cycle>, data=0x0, name=0x4963a0
"worker process", respawn=7)
    at src/os/unix/ngx_process.c:194
#25 0x000000000042faa2 in ngx_reap_children (cycle=0x61e050) at
src/os/unix/ngx_process_cycle.c:577
#26 0x000000000042e85f in ngx_master_process_cycle (cycle=0x61e050) at
src/os/unix/ngx_process_cycle.c:161
#27 0x00000000004031d2 in main (argc=1, argv=0x7fffffffec38) at
src/core/nginx.c:382


Это лечится?

--
Alexander Kochetov





More information about the nginx-ru mailing list