- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Largefile Support in Apache 1.3
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 03:25 PM
тАО03-02-2009 03:25 PM
Largefile Support in Apache 1.3
We get segmentation fault when I try to access any files over 2GB on Apache 1.3.
I tried to compile apache using CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 in order to have Apache acknowledge files over 2GB but no luck I still got segmentation fault.
I read in a forum that you can hack Apache acknowledge files over 2GB. Does anybody know how to achieve this hack without upgrading Apache to 2.x.
Thanks,
Allan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 04:16 PM
тАО03-02-2009 04:16 PM
Re: Largefile Support in Apache 1.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 09:38 PM
тАО03-02-2009 09:38 PM
Re: Largefile Support in Apache 1.3
apache 1.3 largefile
suggests that you need to change some things
in the source code to make this work.
As it says at "http://httpd.apache.org/"
[...]
Apache 2.2.11 Released 2008-12-14
[...]
New features include [...] Large File
Support, [...]
> [...] without upgrading Apache to 2.x.
Why do it the hard way?
> I read in a forum that you can hack [...]
Didn't it also say how to do it?
> I still got segmentation fault.
Not a useful problem description, by the way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 12:37 AM
тАО03-03-2009 12:37 AM
Re: Largefile Support in Apache 1.3
32 bit apache on a 32 bit OS supports 2 GB files, no bigger. To try and hack around this will cause near certain disaster.
Upgrading the apache to 2.x will not help, it has the exact same limitation.
If you install apache on a 64 bit Linux install, it will support larger files. You are really hitting an OS limit not an apache limit in this case.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 08:17 AM
тАО03-03-2009 08:17 AM
Re: Largefile Support in Apache 1.3
You could make large files work on 2.0 by adding the magic compile flags, but it was unsupported upstream so I wouldn't recommend it.
I wouldn't even try it with 1.3. You can probably get it to work, but the first thing people will tell you if you start having strange problems is "don't do that".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 02:04 PM
тАО03-03-2009 02:04 PM
Re: Largefile Support in Apache 1.3
> files, no bigger. [...]
This seems to me unlikely. C large-file
support depends mostly on a 64-bit "off_t"
type, which is, in general, unrelated to the
size of a pointer. (What does "a 32 bit OS"
mean (to you), exactly?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 08:47 PM
тАО03-03-2009 08:47 PM
Re: Largefile Support in Apache 1.3
These are HP-UX specific defines and if they actually did anything in Linux, someone would be sued. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 09:57 PM
тАО03-03-2009 09:57 PM
Re: Largefile Support in Apache 1.3
http://www.tin.org/bin/man.cgi?section=7&topic=feature_test_macros
The wisdom cup here just runneth over,
doesn't it?
I'll admit that simply defining a few C
macros at compile time is not likely to do
the whole job on a program like Apache, but
spewing loads of nonsense is likely to do
even less good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 11:27 PM
тАО03-03-2009 11:27 PM