httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Barrera A." <Br...@Ivn.cl>
Subject Re: [users@httpd] How to serve files larger than 3GB vial Apache 2.x on Redhat 9 linux
Date Sun, 02 Jan 2005 13:08:06 GMT
MMh
i'm not sure about this, cause i've never tried to server files over 1gb.
But... have you tried using mmap ?

mfbscs@mchsi.com wrote:
> I need to do the same thing. I have found that I can go higher than the 2GB
> limit, but cannot go past 4GB. I've looked through the source code and I don't
> think > 4GB is possible right now. In order to enable files between 2 and 4 GB,
> do the following.
> 
> For apache 1.3.x, when you compile, make sure you have the line:
> 
> EXTRA_CFLAGS=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> 
> in your <source-dir>/src/Configuration file
> 
> and remember to cd into /src before you do ./Configure
> 
> For apache 2.0.x, when you do ./configure, you must specify those options on the
> command line, like:
> 
> $ CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" ./configure
> 
> Keep in mind that this will let you serve files over 2GB. However, it will NOT
> let you go over 4GB. I have battled this for days, looking through the source,
> and have realized that files > 4GB are just not possible at this time. I have no
> idea when the developers plan on fixing this. I've also searched the net high
> and low and have found nothing. If anyone else can shed some light on this,
> please do. Thanks
> 
> -Matt
>  
> 
>>Hello,
>>
>>Ripunjay Bararia wrote:
>>
>>>I need to serve files larger than 2 to 4 GB over our internal LAN via 
>>>Apache 2.x (compiled) on a redhat 9 box.
>>
>>Wouldn't it be a better idea to use an anonymous ftp serveur for that?
>>Just deny the LIST command if you're afraid people would suck your 
>>entire FTP.
>>
>>
>>>please suggest the compile options needed for apache to allow it to 
>>>handle serving files larger than 2GB..., or
>>>do i have to make changes to the kernel itself...
>>>
>>>thanks
>>>Ripunjay Bararia
>>>
>>>---------------------------------------------------------------------
>>>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@httpd.apache.org
>>>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
>>>For additional commands, e-mail: users-help@httpd.apache.org
>>>
>>
>>
>>-- 
>>Jean-Christophe Montigny
>>Responsable serveurs assoces.com
> 
> 
>>Etudiant à Grenoble Ecole de Management
> 
> 
>>---------------------------------------------------------------------
>>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@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> 
> 
> For additional commands, e-mail: users-help@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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message