error:
2013/01/19 11:36:59 [error] 14564#0: *1215
upstream timed out (110: Connection timed out) while reading response header
from upstream, client: 123.456.789.123, server: example.com, request:
"POST /path/to/some/script.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000",
host: "example.com", referrer: "http://example.com/"
solution:
So, adding this directive with high enough value to http, server or location context would be a smart move. For example:
location ~* \.php$ { include fastcgi_params; fastcgi_index index.php; fastcgi_read_timeout 120; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } |