View previous topic :: View next topic |
Author |
Message |
KingDaveRa n00b
Joined: 31 May 2003 Posts: 40 Location: Bucks, UK
|
Posted: Tue Dec 20, 2005 4:14 pm Post subject: Apache 2.x serving large files |
|
|
Hi all
I've got a server running a local mirror of a sort, full of ISOs for numerous linux distros and various other bits and bobs relevant to us. For some reason, apache seems to have some sort of wierd file size limit hardcoded in - files over a certain size (I think it might be 2Gb) are not served. This includes a few DVD images. The files don't even show up in file listings, and if you try and download them directly apache won't do it.
Is there a directive I'm missing? LimitRequestBody 0 doesn't work (it has a limit of 2Gb it would seem). Anybody else managed it? I've seen references to patches, but these are hard to impliment with portage. |
|
Back to top |
|
|
badchien Guru
Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
Posted: Tue Dec 20, 2005 5:07 pm Post subject: |
|
|
I've never tried serving anything that large, but I just read in the release notes for the recently released Apache 2.2.0 that >2GB file support is one of the new features. It doesn't look like it is in portage yet, so you'll have to compile yourself.
http://httpd.apache.org/docs/2.2/new_features_2_2.html |
|
Back to top |
|
|
KingDaveRa n00b
Joined: 31 May 2003 Posts: 40 Location: Bucks, UK
|
Posted: Tue Dec 20, 2005 7:26 pm Post subject: |
|
|
Makes me wonder how places like www.mirrorservice.org do it. I might email their admins and ask.
Thanks for the reply. |
|
Back to top |
|
|
badchien Guru
Joined: 16 Feb 2004 Posts: 415 Location: doghouse
|
Posted: Tue Dec 20, 2005 7:34 pm Post subject: |
|
|
Apparently the limitation applies to 32 bit systems. They appear to be running Solaris, so maybe they are using 64 bit Sun hardware. |
|
Back to top |
|
|
KingDaveRa n00b
Joined: 31 May 2003 Posts: 40 Location: Bucks, UK
|
Posted: Wed Dec 21, 2005 10:55 am Post subject: |
|
|
Ahhh, that sounds like a good explanation.
Damn shame. Suppose I'll have to wait then. |
|
Back to top |
|
|
tuxmin l33t
Joined: 24 Apr 2004 Posts: 838 Location: Heidelberg
|
Posted: Wed Dec 21, 2005 12:23 pm Post subject: |
|
|
There used to be LFS support in Gentoo's apache2. But the later ebuilds have this message in it:
Code: |
ewarn "LFS support has been removed due to incompatibilites with other packages."
|
You might want to try an earlier ebuild.
Watch for -DLARGE_FILESYSTEM_SUPPORT or something similar while compiling.
Hht, Alex!!! _________________ ALT-F4 |
|
Back to top |
|
|
|