Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: 2G file limit on RH8.0???: msg#00003

apache.mod-log-spread.user

Subject: Re: 2G file limit on RH8.0???

On Fri, 2004-11-05 at 09:40 -0800, Clint Byrum wrote:
> I compiled mod_log_spread with almost the default makefile (removed the
> -I/usr/local/include and -L/usr/local/lib because my spread is
> in /usr/lib and /usr/local/lib). However, my logging machines, both
> running RH8.0, stopped writing to their files at precisely 2^31-1 (2GB
> -1) bytes.
>
> I looked at the code, and it appears to open the output file with
> O_LARGEFILE. So what gives? Anyone else have this problem?
>

FYI, I changed the CFLAGS to have -D_FILE_OFFSET_BITS=64 in them and now
my spreadlogd's can go past 2G. I reviewed the file code in the program,
and I think everything should be fine as long as the buffer size is kept
under 64k, as the code uses an int for the file offset.

--
Clint Byrum <clint@xxxxxxxxxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation