You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/06/21 00:55:35 UTC

[GitHub] [apisix] atealxt commented on issue #3020: request help: How to fix the log with `upstream response is buffered to a temporary file` was found in `error.log`

atealxt commented on issue #3020:
URL: https://github.com/apache/apisix/issues/3020#issuecomment-1161009773

   > This is because the Nginx upstream module default has a non-zero temp file size configuration:
   > 
   > > Syntax:	proxy_max_temp_file_size size;
   > > Default:
   > > proxy_max_temp_file_size 1024m;
   > > Context:	http, server, location
   > > When buffering of responses from the proxied server is enabled, and the whole response does not fit into the buffers set by
   > > the proxy_buffer_size and proxy_buffers directives, a part of the response can be saved to a temporary file. This directive sets the maximum size of the temporary file. The size of data written to the temporary file at a time is set by the
   > > proxy_temp_file_write_size directive.
   > > The zero value disables buffering of responses to temporary files.
   > 
   > So when the request is out of in-memory buf, data will be saved into files.
   > 
   > Don't worry it's not a problem.
   
   Hi, could you please explain "it's not a problem"? Whether it's impact performance(If not why)? 
   
   And how can I disable the warning log?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org