Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Worker process exited on signal 11
Igor Sysoev wrote:
On Tue, Jul 10, 2007 at 10:00:00AM +0300, Vladimir Shiray wrote:
Вот результат на последней сборке 0.5.27
Получил сразу три core одновременно после запуска ab
( в nginx.conf: worker_processes 3; )
По моему субъективному ощущению, ошибка проявляется
после большого перерыва между HTTPs запросами,
обрабатываемыми одним и тем же процессом.
На самом деле так и происходит, загрузка на HTTPs
ничтожная в сравнений с обычным HTTP.
Сразу после старта nginx, используя ab, мне не удавалось
ее получить ни разу.
------------------------------------
(gdb) bt
#0 0xb7ed9c96 in sk_free () from /lib/libcrypto.so.4
#1 0xb7e96935 in CRYPTO_set_ex_data () from /lib/libcrypto.so.4
#2 0xb7e96b44 in CRYPTO_free_ex_data () from /lib/libcrypto.so.4
#3 0xb7f7443d in SSL_SESSION_free () from /lib/libssl.so.4
#4 0x0807cddd in ngx_http_upstream_ssl_handshake (c=0x80d8edc) at
src/http/ngx_http_upstream.c:690
#5 0x0805aa6c in ngx_event_process_posted (cycle=0x80bc728,
posted=0x80aacc0) at src/event/ngx_event_posted.c:39
#6 0x08059671 in ngx_process_events_and_timers (cycle=0x80bc728) at
src/event/ngx_event.c:272
#7 0x08061dca in ngx_worker_process_cycle (cycle=0x80bc728, data=0x0)
at src/os/unix/ngx_process_cycle.c:747
#8 0x0805f4aa in ngx_spawn_process (cycle=0x80bc728, proc=0x8061830
<ngx_worker_process_cycle>, data=0x0,
name=0x809a9b4 "worker process", respawn=-2) at
src/os/unix/ngx_process.c:187
#9 0x0806045c in ngx_start_worker_processes (cycle=0x80bc728, n=3,
type=-2) at src/os/unix/ngx_process_cycle.c:327
#10 0x08060c5c in ngx_master_process_cycle (cycle=0x80bc728) at
src/os/unix/ngx_process_cycle.c:119
#11 0x0804c065 in main (argc=1, argv=0xbfeee584) at src/core/nginx.c:353
(gdb) bt
#0 0xb7f667d2 in ssl3_connect () from /lib/libssl.so.4
#1 0xb7f71db8 in SSL_do_handshake () from /lib/libssl.so.4
#2 0x08065f3c in ngx_ssl_handshake (c=0x80d9c50) at
src/event/ngx_event_openssl.c:407
#3 0x080662eb in ngx_ssl_handshake_handler (ev=0x80e9d00) at
src/event/ngx_event_openssl.c:539
#4 0x0805aa6c in ngx_event_process_posted (cycle=0x80bc728,
posted=0x80aacc0) at src/event/ngx_event_posted.c:39
#5 0x08059671 in ngx_process_events_and_timers (cycle=0x80bc728) at
src/event/ngx_event.c:272
#6 0x08061dca in ngx_worker_process_cycle (cycle=0x80bc728, data=0x0)
at src/os/unix/ngx_process_cycle.c:747
#7 0x0805f4aa in ngx_spawn_process (cycle=0x80bc728, proc=0x8061830
<ngx_worker_process_cycle>, data=0x0,
name=0x809a9b4 "worker process", respawn=-2) at
src/os/unix/ngx_process.c:187
#8 0x0806045c in ngx_start_worker_processes (cycle=0x80bc728, n=3,
type=-2) at src/os/unix/ngx_process_cycle.c:327
#9 0x08060c5c in ngx_master_process_cycle (cycle=0x80bc728) at
src/os/unix/ngx_process_cycle.c:119
#10 0x0804c065 in main (argc=1, argv=0xbfeee584) at src/core/nginx.c:353
(gdb) bt
#0 0xb7ed9c96 in sk_free () from /lib/libcrypto.so.4
#1 0xb7e96935 in CRYPTO_set_ex_data () from /lib/libcrypto.so.4
#2 0xb7e96b44 in CRYPTO_free_ex_data () from /lib/libcrypto.so.4
#3 0xb7f7443d in SSL_SESSION_free () from /lib/libssl.so.4
#4 0x0807cddd in ngx_http_upstream_ssl_handshake (c=0x80d99b0) at
src/http/ngx_http_upstream.c:690
#5 0x0805aa6c in ngx_event_process_posted (cycle=0x80bc728,
posted=0x80aacc0) at src/event/ngx_event_posted.c:39
#6 0x08059671 in ngx_process_events_and_timers (cycle=0x80bc728) at
src/event/ngx_event.c:272
#7 0x08061dca in ngx_worker_process_cycle (cycle=0x80bc728, data=0x0)
at src/os/unix/ngx_process_cycle.c:747
#8 0x0805f4aa in ngx_spawn_process (cycle=0x80bc728, proc=0x8061830
<ngx_worker_process_cycle>, data=0x0,
name=0x809a9b4 "worker process", respawn=-2) at
src/os/unix/ngx_process.c:187
#9 0x0806045c in ngx_start_worker_processes (cycle=0x80bc728, n=3,
type=-2) at src/os/unix/ngx_process_cycle.c:327
#10 0x08060c5c in ngx_master_process_cycle (cycle=0x80bc728) at
src/os/unix/ngx_process_cycle.c:119
#11 0x0804c065 in main (argc=1, argv=0xbfeee584) at src/core/nginx.c:353
Мне нужен вывод
fr 4
p *c
p *u->peer
для всех трёх случаев.
(gdb) fr 4
#4 0x0807cddd in ngx_http_upstream_ssl_handshake (c=0x80d8edc) at
src/http/ngx_http_upstream.c:690
690 in src/http/ngx_http_upstream.c
(gdb) p *c
$1 = {data = 0x810f198, read = 0x80e2f14, write = 0x80e94ac, fd = 26,
recv = 0x8065b50 <ngx_ssl_recv>, send = 0x8065560 <ngx_ssl_write>,
recv_chain = 0x8065eb0 <ngx_ssl_recv_chain>, send_chain = 0x8065810
<ngx_ssl_send_chain>, listening = 0x0, sent = 0, log = 0x810e920,
pool = 0x8135fe0, sockaddr = 0x0, socklen = 0, addr_text = {len = 0,
data = 0x0}, ssl = 0x8136828, buffer = 0x0, number = 96647,
buffered = 0, log_error = 1, single_connection = 0, unexpected_eof =
0, timedout = 0, error = 0, destroyed = 0, idle = 0, close = 0,
sendfile = 0, sndlowat = 0, tcp_nodelay = 0, tcp_nopush = 0}
(gdb) p *u->peer
Structure has no component named operator*.
-------------------------
(gdb) fr 4
#4 0x0805aa6c in ngx_event_process_posted (cycle=0x80bc728,
posted=0x80aacc0) at src/event/ngx_event_posted.c:39
39 ev->handler(ev);
(gdb) p *c
No symbol "c" in current context.
(gdb) p *u->peer
No symbol "u" in current context.
-------------------------
(gdb) fr 4
#4 0x0807cddd in ngx_http_upstream_ssl_handshake (c=0x80d99b0) at
src/http/ngx_http_upstream.c:690
690 u->peer.save_session(&u->peer, u->peer.data);
(gdb) p *c
$1 = {data = 0x80c5368, read = 0x80e35c8, write = 0x80e9b60, fd = 27,
recv = 0x8065b50 <ngx_ssl_recv>, send = 0x8065560 <ngx_ssl_write>,
recv_chain = 0x8065eb0 <ngx_ssl_recv_chain>, send_chain = 0x8065810
<ngx_ssl_send_chain>, listening = 0x0, sent = 0, log = 0x80bc330,
pool = 0x80f35f8, sockaddr = 0x0, socklen = 0, addr_text = {len = 0,
data = 0x0}, ssl = 0x80f3e40, buffer = 0x0, number = 96663,
buffered = 0, log_error = 1, single_connection = 0, unexpected_eof =
0, timedout = 0, error = 0, destroyed = 0, idle = 0, close = 0,
sendfile = 0, sndlowat = 0, tcp_nodelay = 0, tcp_nopush = 0}
(gdb) p *u->peer
Structure has no component named operator*.
|