🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Derek Dawson Wed, 15 Sep 1999 00:00
INN 2.1.1, largefiles & Solaris
#39909
Author: Derek Dawson
Date: Wed, 15 Sep 1999 00:00
27 lines
1558 bytes
Anybody with any experience of INN 2.1.1 on Solaris 2.6 with large CNFS
files (4Gb)?

I couldn't get this to work (and yes, I used --with-largefiles with configure!)

I am setting up a new system and edited all the configuration files, created
seven 4Gb files for cnfs using dd. When it came to doing a 'makehistory' all
I got was an error message about a storage problem (forgive me, the system
it now up and running with <2Gb files and I didn't keep a note of the exact
message).

After much experimentation, I created seven smaller files <2Gb, updated 
cycbuff.conf to reflect the new file size and everything worked fine. This
proves that there was nothing wrong with my configuration files. 

Solaris 2.6 supports largefiles so I presume this must be some INN problem.

I'm now using files slightly less than 2Gb in size and doubling them (using
meta cyclic buffers) to get the configuration I want.

Has anybody else experienced this problem? Has anybody else got it to work?

Thanks,

Derek Dawson.

Re: INN 2.1.1, largefiles & Solaris
#39880
Author: 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/>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads