Welcome! Log In Create A New Profile

Advanced

fcgi warnings causing exit on signal 11

Aleksander
March 24, 2010 07:18AM
Здравствуйте, появились проблемы с ворнингами в fcgi апстрим.

Есть такой конфиг:
server {
listen 8000;
location / {
fastcgi_pass unix:/tmp/fcgi-test.sock;
include fastcgi_params;
}
}

И такой простенький скрипт fcgi-test.pl:
#!/usr/bin/perl
use CGI::Fast;
while (new CGI::Fast) {
print "Content-type: text/html\n\nOk";
warn "".("a" x 503)."\n";
}

Запускаю:
> FCGI_SOCKET_PATH=/tmp/fcgi-test.sock ./fcgi-test.pl &
> fetch -o- http://127.0.0.1:8000/

При значении 503 и больше воркер падает "worker process NNNNN exited on signal 11".

> /usr/local/nginx/sbin/nginx -V
nginx version: nginx/0.8.34
built by gcc 4.2.1 20070719 [FreeBSD]
TLS SNI support enabled
configure arguments: --with-http_flv_module --with-http_dav_module --with-http_gzip_static_module --with-http_ssl_module --with-http_realip_module --with-http_secure_link_module --with-http_geoip_module



_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

fcgi warnings causing exit on signal 11

Aleksander March 24, 2010 07:18AM

Re: fcgi warnings causing exit on signal 11

Maxim Dounin March 24, 2010 08:04AM

Re[2]: fcgi warnings causing exit on signal 11

Aleksander March 24, 2010 08:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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