ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
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



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

для всех трёх случаев.

> Igor Sysoev wrote:
> >On Fri, Jul 06, 2007 at 11:06:13AM +0300, Vladimir Shiray wrote:
> >
> >  
> >>Как я понимаю отпуск закончился
> >>и можно продожлать ... :)
> >>    
> >
> >fr 4
> >p *c
> >p *u->peer
> >
> >
> >  
> >>Vladimir Shiray wrote:
> >>    
> >>>(gdb) bt
> >>>#0  0xb7e75c96 in sk_free () from /lib/libcrypto.so.4
> >>>#1  0xb7e32935 in CRYPTO_set_ex_data () from /lib/libcrypto.so.4
> >>>#2  0xb7e32b44 in CRYPTO_free_ex_data () from /lib/libcrypto.so.4
> >>>#3  0xb7f1043d in SSL_SESSION_free () from /lib/libssl.so.4
> >>>#4  0x0807cd9d in ngx_http_upstream_ssl_handshake (c=0x80d9114) 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=0x809a964 "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=0xbff3ede4) at src/core/nginx.c:353
> >>>      
> >
> >
> >  
> 
> 

-- 
Игорь Сысоев
http://sysoev.ru



 




Copyright © Lexa Software, 1996-2009.