Answer the question
In order to leave comments, you need to log in
How to get rid of: "an upstream response is buffered to a temporary file"?
Hello.
The following errors appear in the logs: "var/www/httpd-logs/": an upstream response is buffered to a temporary file . Errors appear when a user downloads an attachment from posts. As I understand it, the buffer does not have enough space to fit the file.
Inserted the following lines into the config:
fastcgi_buffering on;
fastcgi_buffer_size 512m;
fastcgi_buffers 8 512m;
fastcgi_busy_buffers_size 512m;
fastcgi_temp_file_write_size 512m;
proxy_max_temp_file_size 0;
Answer the question
In order to leave comments, you need to log in
This is not an error, it's just that the file did not fit into memory, and a temporary file was used, it makes no sense to twist the settings for large files, because it does not matter (on the contrary, performance may drop)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question