Welcome! Log In Create A New Profile

Advanced

Re: Disable memory buffer for file uploads

Francis Daly
March 22, 2011 11:40PM
On Tue, Mar 22, 2011 at 08:17:28PM -0400, akaris wrote:

Hi there,

> My problem is this: when I upload a large (2GB, for exemple) file on my
> Web site, Nginx buffers the whole file in memory,

That shouldn't happen unless your client_body_buffer_size is really
really big.

http://wiki.nginx.org/HttpCoreModule#client_body_buffer_size

nginx will only buffer in memory up to the value of
client_body_buffer_size; beyond that, it will buffer to disk.

How do you determine that nginx buffers the whole file in memory?

All the best,

f
--
Francis Daly francis@daoine.org

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

Disable memory buffer for file uploads

akaris March 22, 2011 08:17PM

Re: Disable memory buffer for file uploads

Francis Daly March 22, 2011 11:40PM

Re: Disable memory buffer for file uploads

fjctlzy March 22, 2011 11:44PM

Re: Disable memory buffer for file uploads

Francis Daly March 23, 2011 06:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
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