ПРОЕКТЫ 


  АРХИВ 


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: nginx reload -> segfault



Точно такую же ситуацию сегодня получил на CentOS 6

Nginx установлен из CentALT

nginx version: nginx/1.3.10
built by gcc 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
TLS SNI support enabled
configure arguments: --user=nginx --group=nginx
--prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log
--http-client-body-temp-path=/var/lib/nginx/tmp/client_body
--http-proxy-temp-path=/var/lib/nginx/tmp/proxy
--http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi
--http-uwsgi-temp-path=/var/lib/nginx/tmp/uwsgi
--http-scgi-temp-path=/var/lib/nginx/tmp/scgi
--pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx
--with-http_secure_link_module --with-http_random_index_module
--with-http_ssl_module --with-http_realip_module
--with-http_addition_module --with-http_sub_module
--with-http_dav_module --with-http_flv_module --with-http_mp4_module
--with-http_gzip_static_module --with-http_degradation_module
--with-http_stub_status_module --with-http_perl_module
--with-http_geoip_module --with-mail --with-mail_ssl_module
--with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
--with-ipv6 --with-file-aio
--add-module=/builddir/build/BUILD/nginx-1.3.10/nginx-upstream-fair
--add-module=/builddir/build/BUILD/nginx-1.3.10/nginx-upload-progress-module
--add-module=/builddir/build/BUILD/nginx-1.3.10/mod_zip-1.1.6
--add-module=/builddir/build/BUILD/nginx-1.3.10/ngx_http_auth_pam_module-1.2
--add-module=/builddir/build/BUILD/nginx-1.3.10/nginx-upload-module-2.2
--add-module=/builddir/build/BUILD/nginx-1.3.10/nginx-rtmp-module-master

Делался upgrade, после restart падения прекратились

2013/1/2 Валентин Бартенев <vbart@xxxxxxxxx>:
> On Wednesday 02 January 2013 17:05:35 Craken wrote:
>> Приветствую.
>> Сегодня нужно было добавить еще один server {...}, и по привычке выполнил
>> не перезапуск а переконфигурирование (ч-з reload), в ответ получил "ОК",
>> но сайты "отвалились".
>>
>> Вот что в dmesg:
>> nginx[20921]: segfault at 7f3a1c25f5e8 ip 00007f3a1c25f5e8 sp
>> 00007fff2cd87c28 error 15
>> nginx[20920] trap stack segment ip:7f3a1bf491cd sp:7fff2cd87a50 error:0
>> nginx[21033] general protection ip:7f3a1bf48d43 sp:7fff2cd87b80 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[20940] trap stack segment ip:7f3a1bf491cd sp:7fff2cd87a30 error:0
>> nginx[20997] general protection ip:7f3a1bf48d43 sp:7fff2cd87630 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[21052] general protection ip:7f3a1bf47e71 sp:7fff2cd86ba0 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[21006] general protection ip:7f3a1bf48d43 sp:7fff2cd87b80 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[21035] general protection ip:7f3a1bf47e71 sp:7fff2cd86ba0 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[20988] general protection ip:7f3a1bf47e71 sp:7fff2cd86ba0 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[21064] general protection ip:7f3a1bf47e71 sp:7fff2cd86b30 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[21066] general protection ip:7f3a1bf59061 sp:7fff2cd86b28 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[20953] general protection ip:7f3a1bf47e71 sp:7fff2cd86ba0 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[20923] general protection ip:7f3a1bf47e71 sp:7fff2cd86b50 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> nginx[20971] general protection ip:7f3a1bf47e71 sp:7fff2cd86ba0 error:0 in
>> libc-2.12.so[7f3a1bed0000+189000]
>> __ratelimit: 1 callbacks suppressed
>> nginx[21232]: segfault at 19 ip 0000000000449deb sp 00007fff5982d660 error
>> 4 in nginx[400000+e1000]
>> nginx[23181]: segfault at 0 ip 00007f52d5dfbf3c sp 00007fff5982e388 error 4
>> in libc-2.12.so[7f52d5d81000+189000]
>>
>
> Стоит собрать с дебагом.
> http://nginx.org/ru/docs/debugging_log.html
>
>
> [...]
>> --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
>> --with-ipv6 --with-file-aio
>> --add-module=/builddir/build/BUILD/nginx-1.3.10/nginx-upstream-fair
>> --add-module=/builddir/build/BUILD/nginx-1.3.10/nginx-upload-progress-modul
>> e --add-module=/builddir/build/BUILD/nginx-1.3.10/mod_zip-1.1.6
>> --add-module=/builddir/build/BUILD/nginx-1.3.10/ngx_http_auth_pam_module-1.
>> 2 --add-module=/builddir/build/BUILD/nginx-1.3.10/nginx-upload-module-2.2
>> --add-module=/builddir/build/BUILD/nginx-1.3.10/nginx-rtmp-module-master
>>
>
> И без сторонних модулей.
>
> --
> Валентин Бартенев
> http://nginx.com/support.html
> http://nginx.org/en/donation.html
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.