🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Malicious Meowbot Sat, 28 Oct 2000 00:31
RTtimeout: is this right?
#48944
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads