I was reading an article on performance on the Nginx site:
https://www.nginx.com/blog/tuning-nginx/ One thing mentioned was
enabling
buffering on the access_log.
However, the directive reference
(http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log) says
that the default buffer size is 64 KB. Does this mean that buffering is
enabled by default, with a size of 64 KB, or that if the buffer is
enabled
without a specified size, it will be 64 KB?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,260630,260630#msg-260630
Hello!
On Wed, Jul 29, 2015 at 02:55:54PM -0400, doolli_doug wrote:
I was reading an article on performance on the Nginx site:
https://www.nginx.com/blog/tuning-nginx/ One thing mentioned was enabling
buffering on the access_log.
However, the directive reference
(http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log) says
that the default buffer size is 64 KB. Does this mean that buffering is
enabled by default, with a size of 64 KB, or that if the buffer is enabled
without a specified size, it will be 64 KB?
The default buffer size the documentation talks about is one used
if you enable the “gzip” parameter, but don’t specify buffer size
explicitly.
–
Maxim D.
http://nginx.org/