spacewander opened a new issue #1567:
URL: https://github.com/apache/incubator-apisix/issues/1567


   Currently we configure the buffer of the access log like this:
   
   ```
       access_log {* http.access_log *} main buffer=32768 flush=3;
   ```
   
   According to Nginx's doc:
   > The buffer size must not exceed the size of an atomic write to a disk file
   
   http://nginx.org/en/docs/http/ngx_http_log_module.html
   
   And for Linux, the default atomic write size is `PIPE_BUF` (4096), see `man 
7 pipe`.
   
   Therefore, the default size is too large to be safe.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to