🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39880

Re: INN 2.1.1, largefiles & Solaris

#39880
From: Russ Allbery
Date: Wed, 15 Sep 1999 00:00
26 lines
1632 bytes
Derek Dawson <ddawson@mail-gx.esoc.esa.de> writes:

> Anybody with any experience of INN 2.1.1 on Solaris 2.6 with large CNFS
> files (4Gb)?

Last time I looked at this, I came to the conclusion that CNFS doesn't
support >2GB cycbuffs on Solaris; it appears to do a stat that returns
EOVERFLOW because it's not using a large enough data structure to deal
with >2GB files.  Now this doesn't make a lot of sense, because the
current largefile support in INN is tuned specifically for Solaris (to a
degree that it's really rather Solaris-specific) and *should* be causing
INN to silently use the 64-bit versions of all the calls and data
structures.

I haven't thrown a lot of time into figuring out exactly what's going on
yet.  It may be that my guess is wrong.

Note that if you're using raw devices for your cycbuffs, >2GB cycbuffs
definitely aren't going to work, since Solaris doesn't support direct
access to raw devices over 2GB.  (Except possibly in 64-bit mode; I'm not
sure there.)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylyae7n6vw.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <7rocro$llj$1@com36.esoc.esa.de>

Show Full Headers
Complete Article Headers
Message-ID: <ylyae7n6vw.fsf@windlord.stanford.edu>
Subject: Re: INN 2.1.1, largefiles & Solaris
Date: Wed, 15 Sep 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7rocro$llj$1@com36.esoc.esa.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 525618587
Organization: The Eyrie
Newsgroups: news.software.nntp