Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

file size limitation?

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


apache at cjp

Jan 12, 2006, 7:41 AM

Post #1 of 5 (5373 views)
Permalink
file size limitation?

Is there a maximum file size limitation in Apache where you cannot
download files over 4GB? I have both an Apache 1.3.29 server and an
Apache 2.2.0 server with the same files on them. One file is 4.2GB and
the other is 5GB. When you view the files in your browser on the
1.3.29 server, the files are shown as 165MB and 787MB, respectively. On
the Apache 2.2.0 server, the file sizes are shown correctly, but when you
try to download them, they fail once you reach the 4GB mark of the
download.

I'm running these on a SLES9 server with the reiserfs filesystem, if that
matters any.

Thanks,
Chris

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


joshua at slive

Jan 12, 2006, 7:50 AM

Post #2 of 5 (5314 views)
Permalink
Re: file size limitation? [In reply to]

On 1/12/06, Chris Purcell <apache[at]cjp.us> wrote:
> Is there a maximum file size limitation in Apache where you cannot
> download files over 4GB? I have both an Apache 1.3.29 server and an
> Apache 2.2.0 server with the same files on them. One file is 4.2GB and
> the other is 5GB. When you view the files in your browser on the
> 1.3.29 server, the files are shown as 165MB and 787MB, respectively. On
> the Apache 2.2.0 server, the file sizes are shown correctly, but when you
> try to download them, they fail once you reach the 4GB mark of the
> download.
>
> I'm running these on a SLES9 server with the reiserfs filesystem, if that
> matters any.

I'm not an expert on this subject, but I can tell you that there is no
large-file support in 1.3, so you won't have luck there.

Version 2.2 should support this. One thing to try is "EnableSendfile
Off", since I have heard that on some systems, sendfile has problems
with large files.

Joshua.


marc at arctic

Jan 12, 2006, 11:47 AM

Post #3 of 5 (5323 views)
Permalink
Re: file size limitation? [In reply to]

No, this will not work. I have asked for a cite to specific apache documentation as to such limitations but never did receive a response, though it is an acknowledged limit. We were hoping to netboot some larger images via http and got caughyt in a image size that grew beyond the limit.... I am hoping that as 64 bit OS become the standard that this limitation will eventually disappear....

---- Original message ----
>Date: Thu, 12 Jan 2006 10:41:11 -0500 (EST)
>From: "Chris Purcell" <apache[at]cjp.us>
>Subject: [users[at]httpd] file size limitation?
>To: users[at]httpd.apache.org
>
>Is there a maximum file size limitation in Apache where you cannot
>download files over 4GB? I have both an Apache 1.3.29 server and an
>Apache 2.2.0 server with the same files on them. One file is 4.2GB and
>the other is 5GB. When you view the files in your browser on the
>1.3.29 server, the files are shown as 165MB and 787MB, respectively. On
>the Apache 2.2.0 server, the file sizes are shown correctly, but when you
>try to download them, they fail once you reach the 4GB mark of the
>download.
>
>I'm running these on a SLES9 server with the reiserfs filesystem, if that
>matters any.
>
>Thanks,
>Chris
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
>For additional commands, e-mail: users-help[at]httpd.apache.org
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


jorton at redhat

Jan 13, 2006, 2:09 AM

Post #4 of 5 (5322 views)
Permalink
Re: file size limitation? [In reply to]

On Thu, Jan 12, 2006 at 10:41:11AM -0500, Chris Purcell wrote:
> Is there a maximum file size limitation in Apache where you cannot
> download files over 4GB? I have both an Apache 1.3.29 server and an
> Apache 2.2.0 server with the same files on them. One file is 4.2GB and
> the other is 5GB. When you view the files in your browser on the
> 1.3.29 server, the files are shown as 165MB and 787MB, respectively. On
> the Apache 2.2.0 server, the file sizes are shown correctly, but when you
> try to download them, they fail once you reach the 4GB mark of the
> download.

That's likely to be a client limitation - 2.2 will correctly handle
large files. What client? I don't believe any of the browsers
currently handle large files correctly; modern versions of wget and most
versions of curl will, however.

joe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


apache at cjp

Jan 17, 2006, 10:27 AM

Post #5 of 5 (5310 views)
Permalink
Re: file size limitation? [In reply to]

> That's likely to be a client limitation - 2.2 will correctly handle
> large files. What client? I don't believe any of the browsers
> currently handle large files correctly; modern versions of wget and most
> versions of curl will, however.
>
> joe


Thanks Joe, I believe you are correct. I was able to download the file
with the Apache 2.2/wget combination, but cannot do anything with any
modern web browsers such as Firefox, Opera, or IE (if you even want to
call IE a "modern" web browser).

Chris



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.