🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #61498

Re: Problems with LIST ACTIVE Closing Connection

#61498
From: Nick Knight
Date: Fri, 12 May 2000 00:00
71 lines
4359 bytes
In <20000512204628.625$Tz@newsreader.com>, on 05/13/2000 
   at 12:46 AM, curt@kcwc.com (Curt Welch) said:

>Is this a dial-up server provided from your work instead of from a "real"
>ISP?  I suspect it's set up wrong.  Whoever configured your dial-in
>modems probably did it wrong.

After reading your very thorough account of what is probably happening, it
just makes too much sense.  I think the problem is some configuration of
the dailup support software/hardware.  There are a few minor issues that
don't fit perfectly with this explanation, but most of it does.  I
actually use 4 different lines, all display this problem equally, but they
are all similarly equipped on the answering side.

I did change the size of my recv() buffer from 32000 to 512.  No
difference, but it was worth a shot.

>I'm assuming it's the dial-in side and not
>your modem since you said other people were having the same problem. 
>(Are they all using the same number to dial into?)

Well, when I said "other people", I meant users of the software I author
OUTSIDE of my company.  I do have reports of this type of issue in enough
cases to make it an issue, but the majority of installs "just work".

I had already come up with an algorithm that I liked and had finished
coding it just as your post came in.  It was really pretty simple to work
around the issue.  And although you say I shouldn't have to, unless I can
pinpoint the issue exactly and solve it for everyone, this algorithm will
keep breaking the problem down until it goes away.  I've run through it
several times here (I'm on my troublesome dialup now) and it's succeeded
(overall, using this algorithm) several times.

Simple really.  I do get "parts" almost aphabetically, <a*, a*, b*, etc
make a special case for ".".  If I cannot collect a list after 5 tries, I
recurse into the same routine passing the existing pattern, and the
alphabet-split is appended to this prefix.  So, for example, when a* fails
5 times (and it always does here for me), I recurse passing "a" as the
prefix.  The code then progresses through aa*, ab*, etc.,.  It gets fairly
deep into aol.?*,  go figure, before it recovers and pops back out. 
Again, I am able to acquire the entire list this way, dependably, from
this connection.  And, for the other users that share this problem, I
trust this will do better for them too.

I like breaking it up a little for dialups, anyway, simply because there's
better recovery and the need to retry smaller chunks if something does go
wrong.

Back to the idea of a bad modem/interface setup.  You had mentioned
probably seeing this when ftp'ing (or downloading via http).  However, I
do transfer large files via both of these methods all of the time.  Never
a problem.  File much larger than my resulting groups list.  And, my
pop3/smtp connections seem to handle all the Very Large attachments I
test.  I do still agree it's a transport issue with my dialup ... despite
the fact that the problem effects (or seems to) only getting the groups
list.

Although I have "worked around" this problem in a way I like, I will still
explore your ideas further.  I would like to know, for certain, what the
problem is.  Again, I appreciate your detailed thoughts.  Thanks much.

Nick
-- 
-----------------------------------------------------------
Nick Knight  <nick@secant.com>       http://nick.secant.com
Senior Software Engineer
Secant Technologies, Inc.             http://www.secant.com
-----------------------------------------------------------


Technical Details
Message-ID: <391cb8f8$1$avpx$mr2ice@client.ce.news.psi.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <391c1c8e$3$avpx$mr2ice@client.ce.news.psi.net> <20000512204628.625$Tz@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <391cb8f8$1$avpx$mr2ice@client.ce.news.psi.net>
Subject: Re: Problems with LIST ACTIVE Closing Connection
Date: Fri, 12 May 2000 00:00:00 +0000
From: Nick Knight <nick@secant.com>
References: <391c1c8e$3$avpx$mr2ice@client.ce.news.psi.net> <20000512204628.625$Tz@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 622798887
X-Trace: client 958183959 38.194.130.2 (Fri, 12 May 2000 22:12:39 EDT)
NNTP-Posting-Date: Fri, 12 May 2000 22:12:39 EDT
Newsgroups: alt.usenet.offline-reader,news.software.readers