segfault at 0 ip 000000000042d9ae sp 00007ffdc4fe6e70 error 4 in nginx[400000+d4000]

Андрей Василишин a.vasilishin на kpi.ua
Пн Авг 10 19:02:10 UTC 2015


Есть такая проблема, в логах смотрю каждый день по 2 -3 сабжевых ошибки, 
как следствие график по stub_status постоянно растет вверх и не 
отображает реальность. Кто виноват и что делать?

https://i.gyazo.com/26e93ebd8d7ca1d6b031eae815e5a1be.png

root на CSRH005:~# nginx -V
nginx version: nginx/1.9.2
built by gcc 4.7.2 (Debian 4.7.2-5)
built with OpenSSL 1.0.1e 11 Feb 2013
TLS SNI support enabled
configure arguments: --prefix=/etc/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 --pid-path=/var/run/nginx.pid 
--lock-path=/var/run/nginx.lock 
--http-client-body-temp-path=/var/cache/nginx/client_temp 
--http-proxy-temp-path=/var/cache/nginx/proxy_temp 
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp 
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp 
--http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx 
--group=nginx --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_gunzip_module --with-http_gzip_static_module 
--with-http_random_index_module --with-http_secure_link_module 
--with-http_stub_status_module --with-http_auth_request_module 
--with-threads --with-stream --with-stream_ssl_module --with-file-aio 
--with-http_spdy_module --with-cc-opt='-g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security' 
--with-ld-opt=-Wl,-z,relro --with-ipv6 --with-debug


root на CSRH005:~# grep nginx /var/log/messages
Aug  9 15:40:10 CSRH005 kernel: [1099310.166060] nginx[1374]: segfault 
at 0 ip 000000000042d9ae sp 00007ffdc4fe6e70 error 4 in nginx[400000+d4000]
root на CSRH005:~# grep nginx /var/log/messages.1
Aug  3 13:51:46 CSRH005 kernel: [575072.311848] nginx[10451]: segfault 
at 47a ip 000000000044c10d sp 00007ffdc4fe76e8 error 6 in 
nginx[400000+d4000]
Aug  3 18:44:26 CSRH005 kernel: [592610.630426] nginx[21780]: segfault 
at 20 ip 000000000042d9fd sp 00007ffdc4fe6ee0 error 6 in nginx[400000+d4000]
Aug  3 21:04:20 CSRH005 kernel: [600993.792108] nginx[10442]: segfault 
at 0 ip           (null) sp 00007ffdc4fe76e8 error 14 in nginx[400000+d4000]
Aug  4 09:14:29 CSRH005 kernel: [644747.348142] nginx[10449]: segfault 
at 276c777f ip 00000000276c777f sp 00007ffdc4fe76e8 error 15
Aug  4 09:40:56 CSRH005 kernel: [646332.519798] nginx[10448]: segfault 
at 0 ip           (null) sp 00007ffdc4fe76e8 error 14 in nginx[400000+d4000]
Aug  4 11:55:44 CSRH005 kernel: [654409.605814] nginx[10441]: segfault 
at 561 ip 000000000044c10d sp 00007ffdc4fe76e8 error 6 in 
nginx[400000+d4000]
Aug  4 13:03:06 CSRH005 kernel: [658446.334335] nginx           D 
ffff88207fc327c0     0 10450  10439 0x00000000
Aug  4 16:03:49 CSRH005 kernel: [669275.821734] nginx[26979]: segfault 
at 47a ip 000000000044c10d sp 00007ffdc4fe7738 error 6 in 
nginx[400000+d4000]
Aug  4 17:32:18 CSRH005 kernel: [674578.263779] nginx[11532] general 
protection ip:40a01c sp:7ffdc4fe6530 error:0 in nginx[400000+d4000]
Aug  4 19:04:00 CSRH005 kernel: [680072.935615] nginx[10450]: segfault 
at 7f6965636e79 ip 000000000044c11f sp 00007ffdc4fe76e8 error 4 in 
nginx[400000+d4000]
Aug  4 20:47:45 CSRH005 kernel: [686289.909866] nginx[3889]: segfault at 
0 ip 000000000042471f sp 00007ffdc4fe7740 error 4 in nginx[400000+d4000]
Aug  4 21:22:40 CSRH005 kernel: [688382.137698] nginx[17639]: segfault 
at 0 ip           (null) sp 00007ffdc4fe7738 error 14 in nginx[400000+d4000]
Aug  5 00:17:49 CSRH005 kernel: [698878.002868] nginx[9397]: segfault at 
0 ip           (null) sp 00007ffdc4fe7738 error 14 in nginx[400000+d4000]
Aug  5 00:17:49 CSRH005 kernel: [698878.118312] nginx[17658]: segfault 
at 20 ip 000000000042d9fd sp 00007ffdc4fe6e70 error 6 in nginx[400000+d4000]
Aug  5 11:45:16 CSRH005 kernel: [740072.739510] nginx[10444]: segfault 
at 10001 ip 0000000000424722 sp 00007ffdc4fe76f0 error 6 in 
nginx[400000+d4000]
Aug  6 21:19:16 CSRH005 kernel: [860759.349310] nginx[14272]: segfault 
at 0 ip           (null) sp 00007ffdc4fe7738 error 14 in nginx[400000+d4000]
Aug  6 23:33:06 CSRH005 kernel: [868779.230139] nginx[26239]: segfault 
at 2710324c ip 000000002710324c sp 00007ffdc4fe7738 error 15
Aug  7 00:01:56 CSRH005 kernel: [870506.767838] nginx[25126]: segfault 
at 19ba30d0 ip 0000000019ba30d0 sp 00007ffdc4fe7738 error 15
Aug  8 00:09:43 CSRH005 kernel: [957263.551059] nginx[8316]: segfault at 
47a ip 000000000044c10d sp 00007ffdc4fe7738 error 6 in nginx[400000+d4000]
Aug  8 18:03:02 CSRH005 kernel: [1021581.176323] nginx[10446]: segfault 
at 0 ip           (null) sp 00007ffdc4fe76e8 error 14 in nginx[400000+d4000]
Aug  9 04:46:44 CSRH005 kernel: [1060153.935352] nginx[10440]: segfault 
at 479 ip 000000000044c10d sp 00007ffdc4fe76e8 error 6 in 
nginx[400000+d4000]
Aug  9 04:46:48 CSRH005 kernel: [1060157.803550] nginx[21563]: segfault 
at 0 ip           (null) sp 00007ffdc4fe7738 error 14 in nginx[400000+d4000]



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