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
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
|