🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48760

Re: ovdb2 vs. STABLE-20001006 and following

#48760
From: Anonymous Coward
Date: Sat, 14 Oct 2000 00:00
99 lines
6283 bytes
On Thu, 42 Sep 19100, Heath Kehoe wrote:

> just replace the old one.  With ovdb 2, it should even be safe to have
> makehistory, expireover, and innd running at the same time.

I SEE MY FATAL ERROR@!  HOORAY!  The only thing missing from that
combination is nnrpd.  That's where I done gone astray.  My bad.


> Are you running nnrpd in daemon mode (-D)?  I have not tested that

Before using ovdb2, I tried it both ways with identical lack of
success with both.  Recently I've just fired it up as -D -p 143,
cuz it's a shorter commandline, but you're right, I hadn't tried
ovdb2 any other way (other than as `/news/bin/nnrpd' which doesn't
count).

That's been remedied; yesterday I took the plunge, after innd and
overchan (and a couple expire runs) had coexisted peacefully.  Now,
I should note that I had seen a few wedges at newgroup time that
had led me to think that perhaps the ovdb2 k0deZ were somewhat
vulnerable to deadlocking at newgroup time, but this could very
well have been readers too, or the fact that the database may have
been in a questionable state.  However, several newgroup messages
passed safely although the last couple days were relatively quiet
on the newgroup front, so I may have been grasping wildly at straws
and I didn't review the logs to check readership before the fatal
newgroups.

(It shouldn't matter that I'm using overchan rather than letting
innd do the dirty work, to get the needed performance, should it?)

So anyway, starting with an empty overview that had been built up
by innd over a couple days, I allowed nnrpd to be started by
tcpswerver, and it worked through the evening, although with a
minimal readership.

However, overnight it went down again (and a newgroup message caused
everything to deadlock), and this time even nnrpd from tcpswerver
did it (or was somehow involved).  The thing is, usually when it's
gone down like this, it's been some reader who has opened something
like 20 to 50 parallel connections, and each one snarfs an article,
closes, and immediately reopens.  This time was the same, with about
5 to 10 parallel high-activity connections, until some of the newly-
opened connections failed to get the greeting (the other connections
were fine, and continued to beable to download articles and close
with stats and all that.  These new connections were made during the
second when about 20 other news.notice activity lines were logged
from the same client.

I don't know if others who have had no problems simply do not see
the machine-gun fire readership over parallel connections that we
see, or if it's really OS-related.  It's never stayed up long enough
to draw the readership a True Machine would see without also drawing
these machine-gun-like connections, so I don't know if there is any
connection here.  Our production machine clocked 277 `GROUP' commands
per second almost a year ago, but apart from noting a significant
amount of parallel connections, I haven't measured the connection
activity per second that we see with up to 1200 parallel nnrpds.


> case very much...  Though, from just looking at the code, there
> shouldn't be any problems running it that way.

I couldn't see anything either.  I'm tempted to rip out the daemon
wrapper, since once again I see the mysterious double-logging of
close stats that almost always occurs when things fail, at the same
time when things die:

Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23707]: leech.abo.wanadoo.fr artstats get 2 time 951 size 141718
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23708]: leech.abo.wanadoo.fr group alt.binaries.pr0n 2  <--
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23708]: leech.abo.wanadoo.fr exit articles 2 groups 1
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23708]: leech.abo.wanadoo.fr times user 0.610 system 0.100 elapsed 2.008  <--
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23708]: leech.abo.wanadoo.fr artstats get 2 time 1086 size 152602
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23708]: leech.abo.wanadoo.fr group alt.binaries.pr0n 0   <===
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23708]: leech.abo.wanadoo.fr exit articles 2 groups 1
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23708]: leech.abo.wanadoo.fr times user 0.610 system 0.100 elapsed 2.015   <====
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23708]: leech.abo.wanadoo.fr artstats get 2 time 1086 size 152602
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23713]: SERVER perl filtering enabled
Oct 14 02:42:23 news02.inet.tele.dk nnrpd[23714]: SERVER perl filtering enabled

(The last two nnrpds failed to get the banner or log anything further.
This double logging never is seen with the other connections, or almost
never)

Okay, officially it was no longer Friday the 13th here, but since it
was still that in much of the Internet World, I guess it counts.  I am
cursed.  Every day is a Friday the 13th.  Or a Monday.  Or both.

Attempts to add debuggery to figure out why these stats show twice has
been futile, as well.


Well, since I do apparently have the readership that reveals bugs, I
should probably beg for the hardware to throw up a simple BSD box
and point Free-N0RP at that and see how it fares...


Technical Details
Message-ID: <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-586-4-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!not-for-mail
References: <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-386-4-100000@netscum.dQ> <slrn8u808b.9h3.heath@dizzy.avalon.net> <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-486-4-100000@netscum.dQ> <slrn8uc3cn.f4a.heath@dizzy.avalon.net>

Show Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-586-4-100000@netscum.dQ>
Subject: Re: ovdb2 vs. STABLE-20001006 and following
Date: Sat, 14 Oct 2000 00:00:00 +0000
From: Anonymous Coward <meowbot@meow.meow.meow>
References: <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-386-4-100000@netscum.dQ> <slrn8u808b.9h3.heath@dizzy.avalon.net> <meowbot-AutoPost-6-87-3-5-6-73-7-2-698-5-486-4-100000@netscum.dQ> <slrn8uc3cn.f4a.heath@dizzy.avalon.net>
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: 681311704
X-Sender: barry@vax.chrillesen.dk
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk>
X-Trace: freebeer.netscum.dk 971517977 fa80339628b6200497f2d2dae83a8f97
Organization: Binging Beerbellied Barry Bouwsma's Beerserver
Mime-Version: 1.0
Newsgroups: news.software.nntp