🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by ank Durda IV Tue, 16 Nov 1999 00:00
Biggest history file INN handles?
#41585
Author: ank Durda IV
Date: Tue, 16 Nov 1999 00:00
36 lines
2388 bytes
I have been doing some looking and can't find any discussion of how INN
and its various pieces deal with history files that get extremely large.
My reason for asking isn't idle curiosity:

-rw-rw-r--   1 news     news     1994567211 Nov 15 19:57 /history/history
-rw-rw-r--   1 news     news            161 Nov 15 19:57 /history/history.dir
-rw-rw-r--   1 news     news      437934040 Nov 15 19:57 /history/history.pag

    Article lines processed 21244523
    Articles retained       20584736
    Entries expired           659787
    Files unlinked            648842
    Old entries dropped       670382
    Old entries retained      198168

("Remember" is set to 3 days as a feeder box provides protection for 14 days,
  cancels kept 4 days, binary groups around 18 days, non-binary groups 48 days)

As you can see, the flat file is approaching the max signed 32 bit seek offset
which is the limit of most UNIX OSes and applications that run on them.
I happen to be using OSF/1 on a 64-bit platform, so I can have files bigger
than that as far as the OS is concerned, but is anyone aware of things
in INN that will behave badly when the 2,147,483,647 is reached?  

I am curious about any known behavior of INNs in this area from 1.5 up through
current development releases.    Thanks.


Frank Durda IV - only this address works:|Sign on back of a Cable TV truck:
   <uhclem.dec99%nemesis.lonestar.org>   |"This vehicle makes frequent stops."
				         | (scrawled in the dirt underneath:)
This Anti-spam address expires Dec. 31st |"Just like our cable service."
Copr. 1999, ask before reprinting.


Re: Biggest history file INN handles?
#41573
Author: Kjetil Torgrim Homme
Date: Tue, 16 Nov 1999 00:00
20 lines
1392 bytes
[ank Durda, IV]

>   I happen to be using OSF/1 on a 64-bit platform, so I can have
>   files bigger than that as far as the OS is concerned, but is
>   anyone aware of things in INN that will behave badly when the
>   2,147,483,647 is reached?

INN uses off_t, which is 64-bit on OSF/1 (are you _really_ running
OSF/1?  You still have a little more than a month to upgrade to
Digital Unix or Tru64 Unix :-)

>   I am curious about any known behavior of INNs in this area from
>   1.5 up through current development releases.  Thanks.

Err, I've blown away my old 1.x tree.


Kjetil T.

Re: Biggest history file INN handles?
#41603
Author: Frank Durda IV
Date: Wed, 17 Nov 1999 00:00
37 lines
2684 bytes
Kjetil Torgrim Homme (kjetilho@haey.ifi.uio.no) wrote:
: INN uses off_t, which is 64-bit on OSF/1 (are you _really_ running
: OSF/1?  You still have a little more than a month to upgrade to
: Digital Unix or Tru64 Unix :-)

No, we are on 4.0D + UFS Smoothsync patches (order them today - only took
two years to get DEC to even look at the bug we reported in this area and
they mostly conceal the bug rather than fixing it right), but we still call
it OSF rather than TRU64(TM)(R)(PAT PEND) because it annoys Digital, and we
call the company Digital, because that annoys Compaq.   Only fair, as they
have certainly annoyed us over the years.*

Unfortunately, we had to make a few dozen modifications to INN (mainly in
the dbz code), to get it to run correctly in a 64-bit environment at all
because it made 32-bit assumptions on everything from building masks to
performing bit shifts.

Thanks, but none of your message answers the original question asked.

* Hey Digital/Compaq!  The secret STILL is to put the disksort() back in
	diskstrategy().  Not everybody uses HSZ80 controllers for all of their
	disk drives and even if you do buy a $26,000 disk controller, reads
	on OSF/TRU64 still needlessly block when expire, mkpasswd, pathalias
	or similar programs are running.  Running a partial sync() 60 times
	a minute isn't the solution!  Honest!
	See ticket C970207-3290 or C980504-5897 if you forget.
	Oh, and UUCP is still broken in 4.0x.  We have to use 3.2G executables.


Frank Durda IV - only this address works:|"Brad, are you pondering what I'm
   <uhclem.dec99%nemesis.lonestar.org>   | pondering?"  "I think so Bill, 
					 | but doesn't this mean that
This Anti-spam address expires Dec. 31st | you are working for Radio Shack?"
Copr. 1999, ask before reprinting.


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