Re: Ошибка nginx

Maxim Dounin mdounin на mdounin.ru
Ср Май 4 15:19:47 MSD 2011


Hello!

On Wed, May 04, 2011 at 12:35:03PM +0400, Igor K. Antonov wrote:

> Максим, ошибка повторилась через 2 недели.
> Т. к это боевой сервер, отладку не включал.
> но, т к версия была обновлена, сейчас
> /w2/srv/sbin/nginx -V
> nginx: nginx version: nginx/1.0.0
> nginx: built by gcc 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)
> nginx: TLS SNI support enabled
> nginx: configure arguments: --prefix=/w2/srv
> --pid-path=/var/run/nginx.pid
> --error-log-path=/var/log/nginx/error.log
> --http-log-path=/var/log/nginx/access.log --with-http_ssl_module
> --with-http_stub_status_module --with-http_flv_module
> 
> nginx[21472] general protection ip:3736c77aea sp:7fff4c04dde0
> error:0 in libc-2.12.so[3736c00000+175000]
> nginx[32059] general protection ip:373680de5f sp:7fff4c04dea0
> error:0 in ld-2.12.so[3736800000+1e000]
> nginx[28307]: segfault at 8 ip 000000000040d579 sp 00007fff4c04df68
> error 4 in nginx[400000+78000]
> nginx[20865] general protection ip:406cc8 sp:7fff5661a470 error:0 in
> nginx[400000+78000]
> nginx[20924] general protection ip:43ccb1 sp:7fff5661a4b0 error:0 in
> nginx[400000+78000]
> nginx[20928] general protection ip:42b902 sp:7fff5661a320 error:0 in
> nginx[400000+78000]
> nginx[20933] general protection ip:43ab4c sp:7fff5661a4f0 error:0 in
> nginx[400000+78000]
> nginx[20923] general protection ip:4088c4 sp:7fff5661a2b0 error:0 in
> nginx[400000+78000]
> nginx[16663] general protection ip:431d9b sp:7fff5661a270 error:0 in
> nginx[400000+78000]
> nginx[16661]: segfault at 8 ip 000000000040d5b9 sp 00007fff5661a418
> error 4 in nginx[400000+78000]

Можно ещё попробовать

gdb /w2/srv/sbin/nginx

и там

x 0x3736c77aea
x 0x373680de5f
x 0x40d579
x 0x406cc8
... (для всех значений ip)

Ну и конфиг показать было бы неплохо.

Maxim Dounin


> 
> Игорь
> 
> >Hello!
> >
> >On Sun, Apr 17, 2011 at 09:38:55PM +0400, Igor K. Antonov wrote:
> >
> >>Подскажите, пожалуйста, что это означает?
> >>
> >>nginx[21472] general protection ip:3736c77aea sp:7fff4c04dde0
> >>error:0 in libc-2.12.so[3736c00000+175000]
> >>nginx[32059] general protection ip:373680de5f sp:7fff4c04dea0
> >>error:0 in ld-2.12.so[3736800000+1e000]
> >>nginx[28307]: segfault at 8 ip 000000000040d579 sp 00007fff4c04df68
> >>error 4 in nginx[400000+78000]
> >Включить сохранение корок и смотреть backtrace, будет понятнее.
> >Подробнее тут:
> >
> >http://wiki.nginx.org/Debugging
> >
> >>  /w2/srv/sbin/nginx -V
> >>nginx: nginx version: nginx/0.9.5
> >>nginx: built by gcc 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)
> >>nginx: TLS SNI support enabled
> >>nginx: configure arguments: --prefix=/w2/srv
> >>--pid-path=/var/run/nginx.pid
> >>--error-log-path=/var/log/nginx/error.log
> >>--http-log-path=/var/log/nginx/access.log --with-http_ssl_module
> >>--with-http_stub_status_module --with-http_flv_module
> >>
> >>
> >>uname -a
> >>Linux bg20 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010
> >>x86_64 x86_64 x86_64 GNU/Linux
> >Maxim Dounin
> >
> >_______________________________________________
> >nginx-ru mailing list
> >nginx-ru at nginx.org
> >http://nginx.org/mailman/listinfo/nginx-ru
> 
> 
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru



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