Валентин Бартенев
November 22, 2012 09:56AM
On Thursday 22 November 2012 18:09:02 smirnov_arkady wrote:
> Здравствуйте.
>
> Периодически, в произвольном порядке, отпадают workers по SIGSEGV. При этом
> соединение с клиентом разрывается и он получает ошибку "Connection was
> reset".
>
> Похоже функция ngx_palloc передает неправильную ссылку.
>
> Вот кое-какая отладочная информация. Пользуюсь связкой nginx + php-fpm.
> Даже не знаю в какую сторону копать. Помогите, пожалуйста.
[...]
> # nginx.debug -V
> nginx version: nginx/1.2.3
> TLS SNI support enabled
> configure arguments:
> --add-module=/usr/ports/www/nginx/files/nginx-push-stream-module
> --prefix=/usr/local/etc/nginx
> --with-cc-opt='-I /usr/local/include'
> --with-ld-opt='-L /usr/local/lib'
> --conf-path=/usr/local/etc/nginx/nginx.conf
> --sbin-path=/usr/local/sbin/nginx
> --pid-path=/var/run/nginx.pid
> --error-log-path=/var/log/nginx-error.log
> --user=www --group=www
> --with-debug --with-ipv6
> --http-client-body-temp-path=/var/tmp/nginx/client_body_temp
> --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
> --http-proxy-temp-path=/var/tmp/nginx/proxy_temp
> --http-scgi-temp-path=/var/tmp/nginx/scgi_temp
> --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
> --http-log-path=/var/log/nginx-access.log
> --with-http_addition_module
> --add-module=/wrkdirs/usr/ports/www/nginx/work/agentzh-echo-nginx-module-
d3eb42d
>
> --add-module=/wrkdirs/usr/ports/www/nginx/work/agentzh-headers-more-nginx-
module-6586984
>
> --with-http_geoip_module --with-http_gzip_static_module
> --with-http_image_filter_module --with-http_perl_module
> --add-module=/wrkdirs/usr/ports/www/nginx/work/nginx_http_push_module-0.692
> --with-http_realip_module --with-http_stub_status_module
> --with-http_sub_module
> --add-module=/wrkdirs/usr/ports/www/nginx/work/nginx_upload_module-2.2.0
> --add-module=/wrkdirs/usr/ports/www/nginx/work/masterzen-nginx-upload-
progress-module-a788dea
>
> --with-pcre --with-http_ssl_module
>


Первым делом имеет смысл собрать без сторонних модулей, и посмотреть,
воспроизводится ли при этом проблема.

--
Валентин Бартенев
http://nginx.com/support.html
http://nginx.org/en/donation.html
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Re: Connection was reset - SIGSEGV в ngx pcalloc

Валентин Бартенев November 22, 2012 09:56AM

Re: Connection was reset - SIGSEGV в ngx pcalloc

smirnov_arkady November 29, 2012 11:15AM

Re: Connection was reset - SIGSEGV в ngx pcalloc

Maxim Dounin November 29, 2012 12:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready