Maxim Dounin
December 07, 2012 11:20AM
Hello!

On Thu, Dec 06, 2012 at 02:06:26PM -0500, spacerobot wrote:

> Ran into an issue that I needed to set a larger proxy_buffer_size (e.g. to
> 128k). It works after increasing.
>
> However my question is: what's the disadvantages of setting a large buffer
> size? If there is no disadvantage, why the default is only 8k? Is there a
> certain value that I certainly shouldn't set it larger than that?

Obvious disadvantage is that it needs more memory if set to a
bigger value. It's set to pagesize by default as it's an amount
of memory which may be effeciently allocated, and sufficient for
most uses (which doesn't try to abuse HTTP headers to transfer
data).

--
Maxim Dounin
http://nginx.com/support.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Setting large proxy_buffer_size

spacerobot December 06, 2012 02:06PM

Re: Setting large proxy_buffer_size

Maxim Dounin December 07, 2012 11:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready