Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache 2.x serving large files
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
KingDaveRa
n00b
n00b


Joined: 31 May 2003
Posts: 40
Location: Bucks, UK

PostPosted: Tue Dec 20, 2005 4:14 pm    Post subject: Apache 2.x serving large files Reply with quote

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
View user's profile Send private message
badchien
Guru
Guru


Joined: 16 Feb 2004
Posts: 415
Location: doghouse

PostPosted: Tue Dec 20, 2005 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
KingDaveRa
n00b
n00b


Joined: 31 May 2003
Posts: 40
Location: Bucks, UK

PostPosted: Tue Dec 20, 2005 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
badchien
Guru
Guru


Joined: 16 Feb 2004
Posts: 415
Location: doghouse

PostPosted: Tue Dec 20, 2005 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
KingDaveRa
n00b
n00b


Joined: 31 May 2003
Posts: 40
Location: Bucks, UK

PostPosted: Wed Dec 21, 2005 10:55 am    Post subject: Reply with quote

Ahhh, that sounds like a good explanation.

Damn shame. Suppose I'll have to wait then.
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Wed Dec 21, 2005 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum