I'm "fine-tuning" a PHP web application served via NGINX with php-fpm as FastCGI sever.
From the documentation:
fastcgi_read_timeoutDefines a timeout for reading a response from the FastCGI server.
so far so good. But then...
The timeout is set only between two successive read operations, not for the transmission of the whole response.
The PHP script start sending data (nginx reads) then pauses (computing time) then send more data (nginx reads). If the pause lasts longer than the specified time the connection is dropped.
Is it the correct interpretation or am I missing something?
What does exaclty means "between two read operations" ?
Isn't the "whole response" duration that matters? And what parameter sets a limit for that?