Welcome! Log In Create A New Profile

Advanced

Re: nginx 1.1.15: crash

Maxim Dounin
February 17, 2012 01:18PM
Hello!

On Fri, Feb 17, 2012 at 09:33:42AM -0500, locojohn wrote:

> nginx version: nginx/1.1.15
> TLS SNI support enabled
> configure arguments: --prefix=/usr --sbin-path=/usr/sbin/nginx
> --conf-path=/etc/nginx/nginx.conf
> --error-log-path=/var/log/nginx/error_log --pid-path=/var/run/nginx.pid
> --lock-path=/var/lock/nginx.lock --user=nginx --group=nginx
> --with-cc-opt=-I/usr/include --with-ld-opt=-L/usr/lib
> --http-log-path=/var/log/nginx/access_log
> --http-client-body-temp-path=/var/tmp/nginx/client
> --http-proxy-temp-path=/var/tmp/nginx/proxy
> --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi
> --http-scgi-temp-path=/var/tmp/nginx/scgi
> --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --with-file-aio
> --with-aio_module --with-debug --with-pcre
> --without-http_auth_basic_module --without-http_geo_module
> --without-http_limit_req_module --without-http_memcached_module
> --without-http_referer_module --without-http_scgi_module
> --without-http_ssi_module --without-http_split_clients_module
> --without-http_userid_module --without-http_uwsgi_module
> --with-http_flv_module --with-http_geoip_module
> --with-http_stub_status_module --with-http_realip_module
> --add-module=/var/tmp/portage/www-servers/nginx-1.1.15/work/perusio-nginx-http-concat-c37eadc
> --add-module=/var/tmp/portage/www-servers/nginx-1.1.15/work/masterzen-nginx-upload-progress-module-c7c663f
> --with-http_ssl_module --without-mail_imap_module
> --without-mail_pop3_module --without-mail_smtp_module
>
>
> gdb:
>
> Program terminated with signal 11, Segmentation fault.
> #0 ngx_event_pipe_write_chain_to_temp_file (p=0x1cc9038)
> at src/event/ngx_event_pipe.c:709
> 709 src/event/ngx_event_pipe.c: No such file or directory.
>
> backtrace:
>
> #0 ngx_event_pipe_write_chain_to_temp_file (p=0x1cc9038)
> at src/event/ngx_event_pipe.c:709
> size = 0
> bsize = <optimized out>
> n = <optimized out>
> b = <optimized out>
> prev_last_shadow = 1
> cl = 0x0
> tl = <optimized out>
> next = <optimized out>
> out = 0x0
> ll = 0x0
> last_out = <optimized out>
> last_free = <optimized out>
> fl = {buf = 0x7fff7cb3cba0, next = 0x7fff7cbffa0c}

Что показывает

fr 0
p *p

?

> #1 0x00000000004203fb in ngx_event_pipe_read_upstream (p=0x1cc9038)
> at src/event/ngx_event_pipe.c:227
> chain = <optimized out>
> ln = <optimized out>
> n = <optimized out>
> size = <optimized out>
> rc = <optimized out>
> b = <optimized out>
> cl = <optimized out>
> #2 ngx_event_pipe (p=0x1cc9038, do_write=<optimized out>)
> at src/event/ngx_event_pipe.c:49
> rc = 0
> rev = <optimized out>
> wev = <optimized out>
> #3 0x000000000044786e in ngx_http_upstream_process_upstream
> (r=0x1cbd5b0,
> u=0x1db4870) at src/http/ngx_http_upstream.c:2641
> c = 0x7f10f8f45e50

И здесь:

fr 3
p *r
p *u

Из "p *r" будет видно, в каком именно хосте случилась проблема.
Нужен его конфиг (и общие настройки, в него наслудующиеся, if any).

Maxim Dounin

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx 1.1.15: crash

locojohn February 17, 2012 09:33AM

Re: nginx 1.1.15: crash

Валентин Бартенев February 17, 2012 09:42AM

Re: nginx 1.1.15: crash

locojohn February 17, 2012 09:43AM

Re: nginx 1.1.15: crash

Maxim Dounin February 17, 2012 01:18PM

Re: nginx 1.1.15: crash

locojohn February 18, 2012 04:18AM

Re: nginx 1.1.15: crash

Maxim Dounin February 19, 2012 07:54AM

Re: nginx 1.1.15: crash

locojohn February 19, 2012 09:12AM

Re: nginx 1.1.15: crash

Maxim Dounin February 19, 2012 05:20PM

Re: nginx 1.1.15: crash

locojohn February 19, 2012 05:49PM

Re: nginx 1.1.15: crash

Maxim Dounin February 20, 2012 04:08AM

Re: nginx 1.1.15: crash

locojohn February 20, 2012 02:26PM

Re: nginx 1.1.15: crash

Maxim Dounin February 22, 2012 07:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready