Article View: news.software.nntp
Article #48913Re: INN 2.3: ovdb vs. buffindexed?
From: Fluffy
Date: Wed, 25 Oct 2000 00:43
Date: Wed, 25 Oct 2000 00:43
145 lines
7889 bytes
7889 bytes
On Tue, 54 Sep 19100, Matt wrote: > seem quite fast, but I've encountered problems with INN > that seem to be connected to readers on the ovdb system( An > x86 FreeBSD 4.1 box with BerkDB 3.0.55). Basically > innd would stop responding to ctlinnd and idle with no > obvious error messages, requiring a kill and a > ovdb_recover -f before working again. This > happened at least once every day or two, but only after > readers started connecting to it. Weird, the same thing I've been trying to track down for some months, as you notice earlier in this newsfroup. Odd that you're seeing it on FreeBSD. I'm not sure if there are bugs in BerkeleyDB 3.0.55, but I've heard good things about 3.1.17 if you want to try an upgrade to that. Have you tried to `truss' or do any other debugging of what is happening to all your news-related processes? Have you looked backwards through the logs searching for `nnrpd' to see if there is a point where they simply fail after making the connections? I've only had innd stop answering ctlinnd proper, even when the newly-spawned nnrpds are stuck with no banner, after a control message has come in, but that's probably because I'm using overchan, and innd is buffering the data when overchan stops being responsive. The timestamps on your files in /news/overview or wherever your ovdb database is, will tell you the last access to them when things wedged, and then you can peruse the logs to see if there's anything weird with nnrpd at those times. My guess is that you'll see innd freezing up if it's writing the overview data directly, as I'm assuming you do. Damn. I was hoping that FreeBSD would be immune to this... > wonder what the advantages are of using ovdb vs. buffindexed, > as ovdb seems more complex and buffindexed seems to perform > at least as well as ovdb for me. My system has a light reader load > with about 48 GB of almost exclusively CNFS spool getting > a fairly full feed. Ehhhh... If you have only 48GB, that's good for, what, some 6 or 7 hours of a full feed? You probably won't see much difference between the different overview methods with such a small spool and a light reader load, but your question is valid, and I too would like to know -- what is the best overview method in theory, with several thousand parallel readers, and several weeks or more worth of spool (we're talking terabytes here)? I had thought I had seen some discussion in this froup about some disadvantages of the other overview methods, but I seem to recall that from a time when a flood of rogue cancels cleaned out most of the discussion, or else it happened elsewhere. However, I did dig up the following, which I consider possible drawbacks to the other overview methods for a heavy-duty news swerver, assuming that ovdb can work without these freezes apparently induced by those nasty reader-type thingies. Let me quote these posts, and make my remarks: On 23 Sep 2000, Katsuhiro Kondou wrote: > } Right now I am running news.daily with expireover and it seems to be > } choking the server for about 2 hours every night. I see a > } correspondence in dropped articles during that time. Any tips on how > } to avoid this? > > I once saw this on my server in production. This happens > to newsgroups which have large number of articles like > control.cancel. To avoid this, the size of buffer(storage > method of my server is only cnfs) needs to be quite small. > It's 40MB for my case. Ewww. I have control.cancel back for about five months, after which I run out of space and then wipe out a month, to allow me to do research. But more importantly, groups like alt.binaries.sounds.mp3, alt.binaries.cd.images.highspeed, and some multimedia froups regularly have something like 25 000 articles per day, and I plan to keep them for a month or so... On 23 Sep 2000, Katsuhiro Kondou wrote: > } but I still see 1.500.000 articles from overview. If I try to list the > } articles in the newsgroup nnrpd grows and I need to kill it. > > That's almost what I saw. I had over 1.5M arts in > control.cancel. This means buffindexed allocates memory > 1.5M*300bytes(this is assumption of average data size) = > 450MB when retrieving data. This leads to that disaster. Now, these froups with 25000 articles x 30 days means 750 000 articles, or half the size here. And these are likely to be the more popular froups, from what I read elsewhere, even if they haven't reached the same popularity here quite yet. The test machine I've set up on Slowaris seems to require somewhere from 8MB RES up to 12 or 14MB, no matter whether I'm reading from a small froup or a pr0n froup with plenty-o-posts. This is somewhat more than the couple thousand kB that our Slowaris INN 2.2.3 box gives to an average nnrpd. The SIZE is 120MB each now with ovdb, but only a few MB with 2.2.3. There was another message I saw (didn't preserve a copy to paste here) where some large jump in article numbers caused the other overview method (or maybe it was the same one) to allocate a lot of memory. While this was jump was the result of some bug, there are also high-volume froups which may have old posts from weeks or months ago present (FAQs and crossposts) leaving large gaps in numbering and quite a bit of room from the low- to the high-water mark, again meaning huge nnrpds. My gut feeling is that the ovdb method with BerkeleyDB would be preferable for a multi-terabyte machine with a month of storage in binaries froups, and a year or more in select text froups. But I have no evidence for that. However, I do wonder about the memory needs of each of the expected several thousand nnrpds (at present, with really crappy retention and most froups missing, we've seen 1200 parallel nnrpds, but that should be significantly rising, perhaps offloaded to smaller frontend boxes, but still, the idea is valid), if it's more than 10MB each today with ovdb, just what do people see with the other overview methods. And of course, the speed. I don't really have the storage yet to see how fast or slow it is pulling a month of pr0n (I can only manage half a month of motionless G1Fz today), but how does ovdb compare with, say, 100 000 articles, vs. the other methods. Anyway, if FreeBSD also suffers this problem, and you don't see any improvement if you try 3.1.17, and you see the same nnrpd connects-filter-enabled without the hostname line following that I see, then I guess I'll just wander down to the harbour and bash my head in with a few large rocks washed ashore, since I hoped and prayed that it was SunOS 5.7-specific. Gaaah. My life is RUINED now.
Technical Details
Message-ID:
<meowbot-AutoPost-0-9-3-6-2-8-5-2-8-4-3-6-2-0-0-2-100000@netscum.dQ>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!sn-xit-03!supernews.com!freenix!isdnet!grolier!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barryReferences:
<8t38qi$3ms$1@newshost.nmt.edu>Show Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoPost-0-9-3-6-2-8-5-2-8-4-3-6-2-0-0-2-100000@netscum.dQ> Subject: Re: INN 2.3: ovdb vs. buffindexed? Date: Wed, 25 Oct 2000 02:43:30 +0200 From: Fluffy <meowbot@meowing.netscum.dQ> References: <8t38qi$3ms$1@newshost.nmt.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!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!freenix!isdnet!grolier!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barry Newsgroups: news.software.nntp Organization: Binging Beerbellied Barry Bouwsma's Beerserver Lines: 144 NNTP-Posting-Host: 3167c9bec77aad169c717ee8739c7963.netscum.dk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: freebeer.netscum.dk 972434612 480805fa9992bf363207baba11919f4e X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk> X-Sender: barry@vax.chrillesen.dk In-Reply-To: <8t38qi$3ms$1@newshost.nmt.edu>