(110: Connection timed out

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;
}
}

Posted at Nginx Forum:

PS: I use nginx 1.8.0, debian 8, php-fpm, fcgiwrap, spawn-fcgi

Posted at Nginx Forum: