Article View: news.software.nntp
Article #50071Re: Inn 2.3 Slow expire
From: bill davidsen
Date: Tue, 23 Jan 2001 17:18
Date: Tue, 23 Jan 2001 17:18
157 lines
9401 bytes
9401 bytes
In article <94ikek$bc5$1@news.contactel.cz>,
Charlie Crackhead <autocyberretributionmeowbot@ploink.invalid> wrote:
| "davidsen@tmr.com" <davidsen@tmr.com> skrev i en
| nyhedsmeddelelse:94i7so$4giq$1@newssvr05-en0.news.prodigy.com...
| :: takes eleven HOURS to expireover. I just don't have the guts to try
| :: over_db again, there may be a magic version of db which doesn't corrupt
| :: all the time, but I have run out of patience looking for it and finding
| :: versions which aren't the right one.
|
| I highly suspect that your success or failure with ovdb depends on
| your OS for several reasons. I had no joy with Slowaris, but apparently
| there was a bug in ovdb proper which, after being fixed, resulted in
| the site that found it no longer seeing problems with it. And Heath
| works with HP-UX, that apparently works too.
I've had no stability with Linux or AIX, and I even tried running
stable kernels on Linux ;-)
|
| The ovdb problem I see depends on stale locks. I'm able to induce them
| by hand with nnrpd, but what is really disturbing is to see that on
| both Slowaris machines we have operating with readers, that for some
| weird reason there are dozens or hundreds of leftover nnrpd processes
| still hanging around after months with two very different INN releases.
| I don't remember if I was seeing this with FreeBSD as well, but I was
| definitely seeing stale locks from nnrpds that had exited, and if the
| Slowaris leftover nnrpds happen to be holding locks even after the
| other end goes away, well, suffice it to say I gave up on that.
I've been following your detailed notes on this, and I was able to get
stale locks by hand, although my readers have saved my the problem and
induce them regularly.
As for old processes, YES!! However, to insure that I don't lose all
my file space with processes keeping old versions of history around, I
kill nnrpd processes older than 14 hours. I played with a patch to set a
max time to live and do it at the return to command line, but figure
anyone connected that long is sucking SPAM and I drop them. So far not a
complaint, although the setwork guys might see some.
|
| I tried buffindexed and like you, I saw an eternity being spent to
| run expireover, and it also slowed way down (see the inn-werkerz thread
| about botched overchan dropfiles and the resulting missing articles,
| well, we lost quite a few each time even if we could manually recover
| most but not all of the articles that just couldn't be written in time,
| and that without readers).
I don't *think* I am losing any articles, at least a random check
hasn't caught me at it. Actually store and read performance are pretty
fair, which is why I was trying buffindexed, XOVER on a large group was
taking longer than it should.
|
| Have you seen any weird errors during expire or readership? We did,
| and after a few days, entire groups went missing with Slowaris. That
| is when I gave up on that.
Not an error. But I did do a makehistory for other reasons, and Lord,
was that slow! This is a transit machine, I am using it to try the ov
stuff, with selected readers using it just to see if it's working.
|
| Oh yeah, I forgot to mention that with ovdb, I also started to see the
| contents of a handful of groups get corrupted or garbled at expire.
| I didn't look into wiping out the entirety or part of group.index and
| overview to see what it would take to rebuild the data from scratch
| and keep its integrity over time. This was with FreeBSD.
Saw this on Linux and AIX. I'm unlikely to use FreeBSD, just because I
think OpenBSD is a bit more stable and secure, and I have a limited
number of toy machines.
|
| Well, anyway, that left two remaining alternatives, and the appealing
| one had the potential of being messy and apparently suicide is a crime
| so because I had nothing left to lose, I started tradindex nearly a
| month ago, rebuilding the overview data from the existing articles as
| with the other methods, and basically, have not had a single problem
| in 30 days of uninterrupted operation. I'm hesitant to restart it, in
| the event that the shutdown/restart process doesn't cleanly close the
| databases and causes corruption, since I've had to do that with the
| other overview methods. I suppose this theory should be tested, but
| first I thought I'd see if the failures that I had previously seen
| after a week or so without problems would re-emerge. Apparently not.
I really have had no problems other than reader performance with
tradindexed.
|
| Other people have had problems with tradindex. I'm seeing none of them.
| Expireover runs in two hours. There have never been overchan backlogs
| during this time. We are losing a number of articles upstream and via
| filtering, so we aren't trying to write the 30 arts/sec sustained that
| are seen at times with a full feed, but 20 arts/sec sustained has been
| no problem. There has been no reader corruption, we see peaks of 40 to
| 50 readers on our open swerver so far, and we've seen neither expireover
| nor renumber problems that indicate corruption on the other methods that
| I've kept an eyeball open for.
That looks a bit long, on AIX:
expireover start Tue Jan 23 00:11:58 EST 2001: (
-z/usr/local/news/log/expire.rm -Z/usr/local/news/log/expire.lowmark)
expireover end Tue Jan 23 00:53:16 EST 2001
lowmarkrenumber begin Tue Jan 23 00:53:16 EST 2001:
(/usr/local/news/log/expire.lowmark)
lowmarkrenumber end Tue Jan 23 00:53:17 EST 2001
expire begin Tue Jan 23 00:53:47 EST 2001: (-v1)
Article lines processed 8148799
Articles retained 7365409
Entries expired 783390
Old entries dropped 848626
Old entries retained 2153057
expire end Tue Jan 23 01:05:38 EST 2001
all done Tue Jan 23 01:05:38 EST 2001
...or you make have more articles online.
|
| However, the fact that other people have experienced corruption or
| other problems after successful operation doesn't mean I'm able to
| sleep at all nights, though we've been lucky so far. The only thing
| I can think of is we've run with no shutdowns since starting with
| tradindex a month ago, but that can't run forever, so we'll see.
Forever, no. Long time? Yes. From various AIX servers:
news 188156 1 36 Nov 10 - 40784:09 /usr/local/news/bin/innd
news 213140 1 34 Dec 29 - 14286:37 /usr/local/news/bin/innd
news 717050 1 45 Dec 26 - 15277:22 /usr/local/news/bin/innd
news 11444 1 2 Nov 01 - 51127:23 /usr/local/news/bin/innd
| Ultimately, this machine has no future and only serves now to aid
| the transition away from INN, and it will be shut down with the first
| failure, or probably in about a week, whichever comes first, but it
| is the only solution that's actually performed over the last half
| year of testing.
You going away from INN? To?
|
| I don't know if you want to risk giving it a shot. I've not seen
| any of the performance issues that other people have seen or said
| would be a problem, although readership is currently negligible (I
| need to see about 20 times the current readership to judge performance)
| but I do suspect there is a significant difference depending on the
| combination of overview and operating system and phase of the moon.
I can run 800 users comfortably with tradindex on the machines above,
by 1200 the load avg is definitely up there. I'm also running out of
100Mbit on the NIC with all the users :-( But even with 2-3 users,
pulling down the headers for a group with 2-3k articles is *painful*!
Not a load issue. I'll have to try a recent STABLE, or try CURRENT and
hope if it works the performance issues migrate to STABLE.
| Of course, I could be wrong.
No, someone else has a patent on that...
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
"I am lost. I am out looking for myself. If I should come back before I
return, please ask me to wait." -seen in a doctor's office
Technical Details
Message-ID:
<94kec9$6e62$1@newssvr05-en0.news.prodigy.com>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!supernews.google.com!sn-xit-02!supernews.com!isdnet!209.249.123.233.MISMATCH!xfer10.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!newscon04.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsenReferences:
<92qu4c$ij6$1@nnrp1.deja.com> <ylk881lh5i.fsf@windlord.stanford.edu> <94i7so$4giq$1@newssvr05-en0.news.prodigy.com> <94ikek$bc5$1@news.contactel.cz>Show Full Headers
Complete Article Headers
Message-ID: <94kec9$6e62$1@newssvr05-en0.news.prodigy.com> Subject: Re: Inn 2.3 Slow expire Date: Tue, 23 Jan 2001 17:18:01 +0000 From: davidsen@tmr.com (bill davidsen) References: <92qu4c$ij6$1@nnrp1.deja.com> <ylk881lh5i.fsf@windlord.stanford.edu> <94i7so$4giq$1@newssvr05-en0.news.prodigy.com> <94ikek$bc5$1@news.contactel.cz> 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!supernews.google.com!sn-xit-02!supernews.com!isdnet!209.249.123.233.MISMATCH!xfer10.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!newscon04.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!darkstar.prodigy.com!davidsen Newsgroups: news.software.nntp Organization: TMR Associates, Schenectady NY Lines: 156 NNTP-Posting-Host: darkstar.prodigy.com X-Trace: newssvr05-en0.news.prodigy.com 980270281 211138 192.168.190.236 (23 Jan 2001 17:18:01 GMT) X-Complaints-To: abuse@prodigy.net NNTP-Posting-Date: 23 Jan 2001 17:18:01 GMT Originator: davidsen@darkstar.prodigy.com