Nginx + Large File Support

Brian Weaver cmdrclueless at
Tue Oct 4 19:13:11 UTC 2011

Darn. I had modified my build to pass in the output of 'getconf LFS_CFLAGS', 'getconf LFS_LDFLAGS', and 'getconf LFS_LIBS' to make it more portable. 

Well, if that's the case any idea why Nginx would accept a post in excess of 2GiB in size even when the 'client_max_body_size' is set sufficiently?

-- Weave

On Oct 4, 2011, at 13:45 , Igor Sysoev wrote:

> On Tue, Oct 04, 2011 at 10:24:15AM -0400, Brian Weaver wrote:
>> Hello,
>> I have what I hope is a simply question, has anyone tried compiling Nginx with support for large files on Linux. I've run into an issue where a co-worker is trying to upload a file in excess of 2GB in size and it's failing. I've modified the compilation options to support large files and we're going to test it. I'm just wondering if anyone had tried it and had any wisdom they would mind sharing.
> nginx supports Linux LFS with
> #define _FILE_OFFSET_BITS  64
> since version 0.0.1.
> -- 
> Igor Sysoev
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at

More information about the nginx-devel mailing list