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 2020/12/11 09:08:53 UTC

[GitHub] [apisix] to2false opened a new issue #3020: request help: temporary buffer

to2false opened a new issue #3020:
URL: https://github.com/apache/apisix/issues/3020


   ### Issue description
   I always get the following warning when accessing static resource(js, css etc) , is there any way to set it to fix the problem.
   ```
   an upstream response is buffered to a temporary file /usr/local/apisix/proxy_temp/6/85/0000116856 while reading upstream, client
   ```
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 2.0
   * OS: Centos 7
   


----------------------------------------------------------------
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.

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



[GitHub] [apisix] tokers commented on issue #3020: request help: temporary buffer

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #3020:
URL: https://github.com/apache/apisix/issues/3020#issuecomment-743113295


   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.
   
   


----------------------------------------------------------------
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.

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



[GitHub] [apisix] spacewander closed issue #3020: request help: temporary buffer

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3020:
URL: https://github.com/apache/apisix/issues/3020


   


----------------------------------------------------------------
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.

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