Disable FastCGI Read Timeout in Nginx?
Is there a way to disable the read timeout for FastCGI? (fastcgi_read_timeout)
Setting it to zero does not work and just causes an immediate timeout.
- Nginx 1.0.5
- PHP-FPM 5.3.6-13ubuntu3.6
The reason I need to get around the timeout is because of the way reports are generated by the system we use. Since forking is not possible in PHP-FPM (pctnl_fork() is disabled), the report processing is done as soon as the request is sent. This causes the read to hang until the processing is completed by the system.
It looks like your only option is to set fastcgi_read_timeout
to a really big value (like 1h or 1d).