Welcome! Log In Create A New Profile

Advanced

Re: nginx/0.8.21 exited on signal 11

Maxim Dounin
October 28, 2009 06:24AM
Hello!

On Wed, Oct 28, 2009 at 05:42:04AM -0400, Vladimir Korkodinov wrote:

> Имею проблему.
> OS: FreeBSD 7.2-STABLE #2: Thu Oct 8 07:38:01 YEKST 2009
> nginx -V
> nginx version: nginx/0.8.21
> TLS SNI support disabled
> configure arguments: --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 --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-log-path=/var/log/nginx-access.log --with-http_addition_module --with-http_perl_module --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-pcre
>

[...]

> Как полечить?
> Какую еще информацию предоставить?
>
> Очень активно проявляется на следующей конструкции.
> if ($country !~* "RU" ) { set $limit_rate 100k; }

Конструкция выглядит как-то так

# nginx will SIGSEGV

location /crash {

set $true 1;

if ($true) {
# fastcgi_pass here
fastcgi_pass 127.0.0.1:9000;
}

if ($true) {
# no handler here
}
}

?

Эти грабли тут разложены давно, и это одна из причин по которым
бьют по рукам за попытки использовать if().

Maxim Dounin
Subject Author Posted

nginx/0.8.21 exited on signal 11

Vladimir Korkodinov October 28, 2009 05:42AM

Re: nginx/0.8.21 exited on signal 11

Maxim Dounin October 28, 2009 06:24AM

Re: nginx/0.8.21 exited on signal 11

Vladimir Korkodinov October 28, 2009 06:36AM

Re: nginx/0.8.21 exited on signal 11

Maxim Dounin October 28, 2009 07:32AM

Re: nginx/0.8.21 exited on signal 11

Vladimir Korkodinov October 28, 2009 08:02AM

Re: nginx/0.8.21 exited on signal 11

Vladimir Korkodinov October 29, 2009 12:59AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 217
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