🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #48944

RTtimeout: is this right?

#48944
From: Malicious Meowbot
Date: Sat, 28 Oct 2000 00:31
43 lines
2979 bytes
Werd up!

So, um, like, I'm seeing these `timeout' news.notice log messages
with Slowaris and INN 2.3-06.Okt and they are GETTING ON MY NERVES
since they are for far less than the 1 hour client inactivity timeout
that I've specified.  Especially when it's the logged message from
one of these machine-gun-like rapid-fire reader lusers, with a `timeout'
after a second or two connect time.  Say what?

Well, apparently `RTtimeout' is returned in nnrpd/misc.c in the
READline() routine select() loop by what appear to be client hangups,
that I can't dupicate with a simple telnet connection that I close
without a `quit' to nnrpd.  Hmmm.

If the other end is not connected the way these nasty reader clients
seem to disappear, should not something different be returned?  Or is
this something peculiar to Slowaris that isn't being handled by the
READline() k0deZ?  Do other people see these short timeouts, and I
don't mean `timeout short' either?

The thing is, after the timeout, one tries to Printf() a disconnect
message to the idle peer.  I'm just wondering if that causes more
problems when the other end has disappeared in a way that isn't
detected by the select() loop.  Speculating, I should say, or even
grasping at straws is more like it.

I'm trying to get to the root of this ovdb locking I'm seeing, which
again happened following a much <3600 second `timeout' with the noted
double stats logging.  I wonder if this somehow botches OVclose()
or calls it twice or something which isn't handled well.  I've
disabled the disconnect message now, in case trying to spit down the
pipe that's no longer there isn't handled well.

Like I say, I'm grasping at straws, but I'd really like to better
detect the rude and impolite disconnection of these clients rather
than return RTtimeout.  Maybe it's just me.  There are plenty of
times that these aborted connections don't cause any problems, tho...


signed,
Puzzled and Perplexed in Punxsutawney

Technical Details
Message-ID: <meowbot-AutoPost-0-9-1-1-3-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!fr.usenet-edu.net!usenet-edu.net!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barry

Show Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoPost-0-9-1-1-3-100000@netscum.dQ>
Subject: RTtimeout: is this right?
Date: Sat, 28 Oct 2000 02:31:03 +0200
From: Malicious Meowbot <meowbot@Drunken.NewsBastards.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!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!freenix!fr.usenet-edu.net!usenet-edu.net!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barry
Newsgroups: news.software.nntp
Organization: Binging Beerbellied Barry Bouwsma's Beerserver
Lines: 42
NNTP-Posting-Host: 3167c9bec77aad169c717ee8739c7963.netscum.dk
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: freebeer.netscum.dk 972693064 72438e0a05e8286bcc5f5333714a3efb
X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk>
X-Sender: barry@vax.chrillesen.dk