🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16597

Re: makehistory -buv never finishes on an Alpha?

#16597
From: Frank Durda IV
Date: Wed, 02 Apr 1997 00:00
59 lines
3644 bytes
Brian O'Neill wrote:
> I have a 175Mhz Alpha (slow by todays standards) with a 4Gb news spool.
> makehistory -buv (1.5.1) never seems to get anywhere - it will fun for a
> whole weekend, but the temp files never seem to grow in size.
> 
> Any idea what might be wedging it? My history file is over 200Mb now and
> probably is in serious need of rebuilding.


If you watch with ps ax, you will see on OSF 4.0B that makehistory or expire goes
into U state and will stick there for up to two minutes at a time and nearly
all I/O  on the system will cease.   Start up makehistory or expire, and start
doing  ls -al  commands over and over monitoring the size of the history* files.
The ls commands will eventually hang for a couple of minutes.  Before ls
hangs, you will note progress on building history.n has also ceased.  When
things unjam, progress occurs for another 30 seconds or so, then things
bind up again.   This goes on for hours.   The CPU will be 100% idle and
programs aren't getting any CPU cycles.

This was happening on our DEC 4.0B 512M 2CPU 275/300MHz Alpha 2100 and 2100A
systems.  We downgraded our 2100 to 3.2G to get away from this bug.  
	  *********************************************************

You *could* also try DECs first suggested FIX:  do a sync command every 10
seconds.  This helps a tiny bit.

DEC knows about the bug (from us) but has no fix.  Your article per second
incoming/outgoing rates for innd is probably also being impacted by this bug.
Our incoming article per second rate went up 3X when we returned to 3.2G
even when expire/makehistory aren't running.   3.2G binds a little (five to
ten seconds every minute or so), but nothing like 4.0B.

Our ~500Meg history file processes in about 30 minutes to an hour on 3.2G and 
was taking around 11 hours on 4.0B (same system same memory).   That's just
the time to make the new history, history.dir and history.pag files, AND on
4.0B, we shut everything else down to try to speed makehistory up,  including
terminating innd.   Expire was also similarly impacted by 4.0B.

BTW, building the new history files on a FreeBSD 2.2 486DX-100 took around 
30 minutes.  All of the above events were using 1.4unoff4.  

I have a lovely C program you can have that demonstrates the bug if you
want it.  Something in OSF 4.X HATES sparse files, such as dbm/dbz files.

Even updating a large (40,000 line) passwd database file kills a machine for
a minute or so.   I suggest you go back to 3.2G if you can.  It's been nearly
two months since we first reported this bug and DECs most recent suggestion
was for us to upgrade to INN 1.5.1 even though POPper and other applications
are also impacted.


Frank Durda IV <uhclem@nemesis.lonestar.org>|"I'm sorry Dave, but I have
or uhclem%nemesis@rwsystr.nkn.net | deleted Windows '95 from the entire system."
                                  | - What A. C. Clarke claims he would have
or ...letni!rwsys!nemesis!uhclem  | HAL say if he was writing 2001 today.
(c) 1997, ask before reprinting.

Technical Details
Message-ID: <3342CC9A.FF6D5DF@nemesis.lonestar.org>
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: <3342AAF9.41C6@staff.uml.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3342CC9A.FF6D5DF@nemesis.lonestar.org>
Subject: Re: makehistory -buv never finishes on an Alpha?
Date: Wed, 02 Apr 1997 00:00:00 +0000
From: Frank Durda IV <uhclem@nemesis.lonestar.org>
References: <3342AAF9.41C6@staff.uml.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
X-Deja-AN: 230216201
Organization: The Big Blue Box B
Newsgroups: news.software.nntp