Re: Падает nginx

Валентин Бартенев vbart at nginx.com
Wed May 22 09:22:59 UTC 2013


On Wednesday 22 May 2013 07:03:19 Victor wrote:
> nginx version: nginx/1.4.1
> built by gcc 4.2.1 20070719  [FreeBSD]
> TLS SNI support enabled
> configure arguments: --prefix=/home/web/dian/nginx
> --sbin-path=/home/web/dian/nginx/
> --conf-path=/home/web/dian/nginx/nginx.conf
> --pid-path=/home/web/dian/nginx/nginx.pid --with-pcre=../pcre-8.32
> --with-zlib=../zlib-1.2.7 --with-file-aio --with-http_realip_module
> --with-http_stub_status_module --with-http_ssl_module --without-poll_module
> --without-select_module --without-http_charset_module
> --without-http_ssi_module --without-http_userid_module
> --without-http_access_module --without-http_autoindex_module
> --without-http_geo_module --without-http_map_module
> --without-http_split_clients_module --without-http_referer_module
> --without-http_uwsgi_module --without-http_scgi_module
> --without-http_memcached_module --without-http_limit_req_module
> --without-http_empty_gif_module --without-http_browser_module
> --without-http_upstream_ip_hash_module --without-mail_pop3_module
> --without-mail_imap_module --without-mail_smtp_module
> 
> 
> 
> This GDB was configured as "amd64-marcel-freebsd"...
> Core was generated by `nginx'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /lib/libcrypt.so.5...done.
> Loaded symbols for /lib/libcrypt.so.5
> Reading symbols from /usr/lib/libssl.so.6...done.
> Loaded symbols for /usr/lib/libssl.so.6
> Reading symbols from /lib/libcrypto.so.6...done.
> Loaded symbols for /lib/libcrypto.so.6
> Reading symbols from /lib/libc.so.7...done.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /libexec/ld-elf.so.1...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  ngx_palloc_large (pool=0x8010e6000, size=Variable "size" is not
> available.
> ) at src/core/ngx_palloc.c:247
> 247         large->alloc = p;
> (gdb) bt
> #0  ngx_palloc_large (pool=0x8010e6000, size=Variable "size" is not
> available.
> ) at src/core/ngx_palloc.c:247
> #1  0x00000000004085fb in ngx_palloc (pool=0x8010e6000, size=16) at
> src/core/ngx_palloc.c:142
> #2  0x00000000004494b2 in ngx_http_upstream_process_header (r=0x8010e6050,
> u=0x80118c120)
>     at src/http/ngx_http_upstream.c:1563
> #3  0x0000000000447308 in ngx_http_upstream_handler (ev=Variable "ev" is
> not available.
> ) at src/http/ngx_http_upstream.c:969
> #4  0x000000000041d0da in ngx_event_process_posted (cycle=Variable "cycle"
> is not available.
> ) at src/event/ngx_event_posted.c:40
> #5  0x000000000041cf7d in ngx_process_events_and_timers (cycle=0x80105a050)
> at src/event/ngx_event.c:276
> #6  0x0000000000423039 in ngx_worker_process_cycle (cycle=0x80105a050,
> data=Variable "data" is not available.
> ) at src/os/unix/ngx_process_cycle.c:807
> #7  0x0000000000421b57 in ngx_spawn_process (cycle=0x80105a050,
> proc=0x422f60 <ngx_worker_process_cycle>, data=0x3,
>     name=0x478617 "worker process", respawn=-4) at
> src/os/unix/ngx_process.c:198
> #8  0x0000000000422758 in ngx_start_worker_processes (cycle=0x80105a050,
> n=5, type=-4)
>     at src/os/unix/ngx_process_cycle.c:362
> #9  0x0000000000423bd4 in ngx_master_process_cycle (cycle=0x80105a050) at
> src/os/unix/ngx_process_cycle.c:249
> #10 0x000000000040777b in main (argc=1, argv=Variable "argv" is not
> available.
> ) at src/core/nginx.c:412
> (gdb)
> 

Без конфигурации и debug-лога данный трейс мало информативен.

--
Валентин Бартенев
http://nginx.org/en/donation.html



Подробная информация о списке рассылки nginx-ru