Disable memory buffer for file uploads
francis at daoine.org
Wed Mar 23 06:39:04 MSK 2011
On Tue, Mar 22, 2011 at 08:17:28PM -0400, akaris wrote:
> 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
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,
Francis Daly francis at daoine.org
More information about the nginx