🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Phillip Weller Fri, 26 Nov 1999 00:00
INN and large spools?
#41801
Author: Phillip Weller
Date: Fri, 26 Nov 1999 00:00
25 lines
1539 bytes
Hello,

Is anyone else attempting to use INN 2.2 with a large CNFS spool?  My spool
is 180GB, just enough for 3 days of alt.binaries, and 30 days of everything
else.  But my history file has been steadily growing, last night it hit
above 2GB, and innd refused to run.  I dropped some of the spool and ran a
makehistory -n to bring it to 1.3GB, but its only a matter of time before
the same thing happens.

System is Solaris 2.7 with everything compiled for large file support.
Combination of 9GB and 18GB spools, which have been working fine until now.
Expires (overview) take forever to run, but do run.  It almost seems like
INN is not capable of supporting this size spool, but that hardly seems
possible, so I'm frantically seeking others with similar experiences.

Thanks!

--
Best Regards,

Phillip Weller - FASTNET - Business and Personal Internet Solutions



Re: INN and large spools?
#41803
Author: news.fast.net
Date: Fri, 26 Nov 1999 00:00
51 lines
3001 bytes
Russ, Brad,

Thanks for the replies.  To answer the questions, I compiled INN with gcc,
using the appropriate flags (-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64).
My CNFS spools are composed of eight 9GB disks and eight18GB disks.  Each
cycbuff uses the *entire* disk, which of course did not work well without
the right compile flags, but worked perfectly with.  No, I did not enable
tagged-hash, why do you ask?

--
Best Regards,

Phillip Weller - FASTNET� / You Tools Corporation
phillip.weller@fast.net (888)321-FAST(3278) http://www.fast.net
FASTNET - Business and Personal Internet Solutions
Russ Allbery <rra@stanford.edu> wrote in message
news:yliu2ovh27.fsf@windlord.stanford.edu...
> Brad Knowles <brad@shub-internet.org> writes:
> > "Phillip Weller" <phillip.weller@fast.net> wrote:
>
> >> But my history file has been steadily growing, last night it hit above
> >> 2GB, and innd refused to run.  I dropped some of the spool and ran a
> >> makehistory -n to bring it to 1.3GB, but its only a matter of time
> >> before the same thing happens.
>
> > You've just identified the real problem -- it's not that INN can't
> > handle large spools, it's that most OSes still can't handle individual
> > files in excess of 2GB in size (e.g., your history file).
>
> Yes, but he also said that he's running Solaris, and Solaris has been able
> to handle large files since the 2.5.1 days when using the proper flags.
>
> > If you recompile INN with Sun's compiler in 64-bit mode, that might get
> > you support for large files, but I wouldn't be willing to bet too much
> > on it.
>
> 64-bit mode has nothing to do with large file support.  Large files should
> work on Solaris right out of the box with the appropriate flag to
> configure.  That's not the problem, unless there's a bug in INN's handling
> of them.  (There's an issue with doing fcntl locking of large files that
> INN currently doesn't get right, but that shouldn't affect the history
> file.)  And you don't need Sun's compiler.
>
> Phillip, are you by any chance using tagged hash in the history file?
>
> --
> Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>



Re: INN and large spools?
#41818
Author: Brad Knowles
Date: Fri, 26 Nov 1999 00:00
24 lines
1771 bytes
In article <s3t0rafla4r54@corp.supernews.com>, "Phillip Weller"
<phillip.weller@fast.net> wrote:

>        But my history file has been steadily growing, last night it hit
> above 2GB, and innd refused to run.  I dropped some of the spool and ran a
> makehistory -n to bring it to 1.3GB, but its only a matter of time before
> the same thing happens.

    You've just identified the real problem -- it's not that INN can't
handle large spools, it's that most OSes still can't handle individual
files in excess of 2GB in size (e.g., your history file).

    If you recompile INN with Sun's compiler in 64-bit mode, that might
get you support for large files, but I wouldn't be willing to bet too much
on it.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Are you a USENET news server administrator outside of North America or
Western Europe?  Would you like a newsfeed from a site in the Freenix
Top 65?  If so, please contact me via private e-mail for details.

Re: INN and large spools?
#41826
Author: Andrew Gierth
Date: Sat, 27 Nov 1999 00:00
24 lines
1824 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes:

 >> Thanks for the replies.  To answer the questions, I compiled INN
 >> with gcc, using the appropriate flags (-D_LARGEFILE_SOURCE
 >> -D_FILE_OFFSET_BITS=64).

Did you specify --with-largefiles to configure?

What type did the definition of OFFSET_T in include/clibrary.h end up
with?

 Russ> Because tagged hash disables INN's ability to deal with large
 Russ> history files.  The other possibility is that there are bit
 Russ> operations in the history dbz code that assume 32 bits, and
 Russ> I've heard rumors about that being the case.

The tagged-hash code seems to assume that type 'long' is no more than
32 bits, and that 'int' is the same size. If not, it looks like it'll
just bloat the .pag file with wasted space.

-- 
Andrew.

Re: INN and large spools?
#41831
Author: Mark Hittinger
Date: Sat, 27 Nov 1999 00:00
16 lines
1181 bytes
Russ Allbery <rra@stanford.edu> writes:
>If the person who was reporting that is reading this, do you have patches?

We are using Solaris 2.6, inn-2.3-current, compiled with large file support.

We have a 450 g CNFS spool consisting of 9 50 gig veritas volumes and 2
additional 50 gig veritas volumes for overviews etc.  It *is* working 
surprisingly enough :-)

Later

Mark Hittinger
Mindspring/Netcom/Dallas
bugs@netcom.com

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