upstream timed out (110: Connection timed out)

Reinis Rozitis r at
Tue Sep 20 16:01:48 UTC 2011

> php script is login form.
> so post request handles very slow.

What does the php-fpm log show?

If its not enabled see where is your 'php-fpm.conf' is and under:

error_log = /path/to/your/php-fpm.log
slowlog =  /path/to/your/slow.log

Optionaly (if not present) add something like:

request_slowlog_timeout = 10s

(it will log/backtrace all php requests which take longer than 10 seconds).


More information about the nginx mailing list