Welcome! Log In Create A New Profile

Advanced

(110: Connection timed out

January 01, 2016 05:09PM
Hey, This is my first post on this forum. I do not speak good English but I will try to write clearly.
I have problem with Nginx + php-fpm and fast cgi connection time out.

My error log

2016/01/01 22:58:58 [error] 2367#0: *13 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.10.12.101, server: xxx.org.pl, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxx.org.pl", referrer: "http://xxx.org.pl/"

and my nginx .conf

server {
listen 80;
server_name xxx.pvp.org.pl;
access_log /var/log/nginx/access-forum.log;
error_log /var/log/nginx/error-forum.log;
#server_tokens off;

root /home/produkcja/forum;
index index.html index.php;


location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini

fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}

location / {
try_files $uri $uri/ /index.php?$args;
}
location ~* \.php$ {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_read_timeout 300;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
Subject Author Posted

(110: Connection timed out

Tyrdl2 January 01, 2016 05:09PM

Re: (110: Connection timed out

Tyrdl2 January 01, 2016 05:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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