Default access_log buffering

Maxim Dounin mdounin at mdounin.ru
Wed Jul 29 19:58:22 UTC 2015


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 Dounin
http://nginx.org/



More information about the nginx mailing list