🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
12 messages
12 total messages Started by Wanderer Tue, 01 Feb 2005 02:38
XNEWS - possible bug with socket connections to NNTP server
#161746
Author: Wanderer
Date: Tue, 01 Feb 2005 02:38
30 lines
2935 bytes
1) I'm using win98SE the behavior on other versions of windoze may vary.

After careful analysis of my problems dealing with a heavily loaded 
(overloaded) news server.  Here is what has been happening.  Xnews 
establishes a connection. (Per article it appears) this appears to be a 
BLOCKING CONNECTION (these are very bad I've learned in my many years of 
twiddling internet stuff).  At this point XNEWS possibly uses an internal 
timer to decide if the connection has timed out, It then tries to connect 
again, then it times out again.  This creates 2 connections to a bogged 
down server, in my case that's the limit so I get message 400 returned 
"Sorry we aren't letting you connect again".
Erswhile the connections that it did attempt to make are STILL THERE, 
waiting to recieve data in the OS.  This could be an OS problem.  It is one 
reason why I set all my sockets non blocking.  I've had this deranged 
behavior happen before but not with windows (Embeded DOS actually with a 
nice TCP/IP stack). The end result is a 400 message for a LONG time from 
the server. Why? Because I think there was a lack of properly disconnecting 
the socket.  The server thinks I'm still connected LONG LONG after I've 
disconnected.  So now there are 2 dead sockets on the server that have my 
name on it. And thus the server is busy until it decides to disconnect 
those sockets and let me try and connect again.  Even if windows times out 
those sockets, they are likely still there. This is kind of bad news for me 
in remaining connected to the news server for more than 40 seconds per 15 
minutes.

I am going to experiment with a simple news client of my own and see if 
this is the problem. Erswhile I'm going crazy because I keep getting lagged 
off the news server then dumped on my head for 15 minutes at a time.

Wanderer - not as lost as I thought
Re: XNEWS - possible bug with socket connections to NNTP server
#161750
Author: Mike Yetto
Date: Tue, 01 Feb 2005 03:20
13 lines
1518 bytes
It was April the forty-first, being a quadruple leap year, when 
Wanderer wrote...

> Erswhile

I didn't find a question, only this silly (almost) word.

    	Mike "I hope you didn't mean erstwhile" Yetto
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Re: XNEWS - possible bug with socket connections to NNTP server
#161755
Author: Blinky the Shark
Date: Tue, 01 Feb 2005 03:49
16 lines
1486 bytes
Mike Yetto wrote:

> It was April the forty-first, being a quadruple leap year, when 
> Wanderer wrote...

>> Erswhile

> I didn't find a question, only this silly (almost) word.

>     	Mike "I hope you didn't mean erstwhile" Yetto

If you spent any time in alt.sausage-maker you'd know the word is
actually "wurstwhile".

-- 
Blinky T. "It was the best of times..." Shark
Re: XNEWS - possible bug with socket connections to NNTP server
#161816
Author: Mike Yetto
Date: Wed, 02 Feb 2005 00:44
26 lines
1994 bytes
It was April the forty-first, being a quadruple leap year, when 
Blinky the Shark wrote...

> Mike Yetto wrote:
> 
>> It was April the forty-first, being a quadruple leap year, when 
>> Wanderer wrote...
> 
>>> Erswhile
> 
>> I didn't find a question, only this silly (almost) word.
> 
>>          Mike "I hope you didn't mean erstwhile" Yetto
> 
> If you spent any time in alt.sausage-maker you'd know the word is
> actually "wurstwhile".
> 

Now that's the wurst pun I've heard in years.

    	Mike "or was that a bun?" Yetto
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Re: XNEWS - possible bug with socket connections to NNTP server
#161819
Author: Blinky the Shark
Date: Wed, 02 Feb 2005 03:19
29 lines
1972 bytes
Mike Yetto wrote:
> It was April the forty-first, being a quadruple leap year, when 
> Blinky the Shark wrote...

>> Mike Yetto wrote:

>>> It was April the forty-first, being a quadruple leap year, when 
>>> Wanderer wrote...

>>>> Erswhile

>>> I didn't find a question, only this silly (almost) word.

>>>          Mike "I hope you didn't mean erstwhile" Yetto

>> If you spent any time in alt.sausage-maker you'd know the word is
>> actually "wurstwhile".

> Now that's the wurst pun I've heard in years.

>     	Mike "or was that a bun?" Yetto

If it was, I never sausage a bad one.

-- 
Blinky                                  Linux Registered User 297263

Response To Extended Endless September:
Now kill-filing posts made with User-Agent G2
Re: [OT] XNEWS - possible bug with socket connections to NNTP server
#161824
Author: »Q«
Date: Wed, 02 Feb 2005 04:12
34 lines
2426 bytes
Blinky the Shark <no.spam@box.invalid> wrote in
<news:slrnd00hlv.79v.no.spam@thurston.blinkynet.net>:

> Mike Yetto wrote:
>> It was April the forty-first, being a quadruple leap year, when
>> Blinky the Shark wrote...
>
>>> Mike Yetto wrote:
>
>>>> It was April the forty-first, being a quadruple leap year, when
>>>> Wanderer wrote...
>
>>>>> Erswhile
>
>>>> I didn't find a question, only this silly (almost) word.
>
>>>>          Mike "I hope you didn't mean erstwhile" Yetto
>
>>> If you spent any time in alt.sausage-maker you'd know the word is
>>> actually "wurstwhile".
>
>> Now that's the wurst pun I've heard in years.
>
>>          Mike "or was that a bun?" Yetto
>
> If it was, I never sausage a bad one.

This is a group about newsreaders.  If those are puns, you should stop
pudding them here.

-- 
»Q«
     links to Xnews resources:
     <http://www.cotse.net/users/putty/help.htm>
Re: [OT] XNEWS - possible bug with socket connections to NNTP server
#161826
Author: Elizabeth Hodges
Date: Wed, 02 Feb 2005 06:04
15 lines
1951 bytes
»Q« <boxcars@gmx.net> wrote in 
news:MrQ95F0E1EFEAF5DitsmeitsQ@QsFQDN.dyndns.org:

>>> Now that's the wurst pun I've heard in years.
>>
>>>          Mike "or was that a bun?" Yetto
>>
>> If it was, I never sausage a bad one.
> 
> This is a group about newsreaders.  If those are puns, you should stop
> pudding them here.
> 

Don't gimme that baloney! Bismarck may've been right about laws, possibly 
even about sausages, but it chorizo lotta fun watching puns being made.
Re: [OT] XNEWS - possible bug with socket connections to NNTP server
#161827
Author: Blinky the Shark
Date: Wed, 02 Feb 2005 06:54
39 lines
2460 bytes
»Q« wrote:

> Blinky the Shark <no.spam@box.invalid> wrote in
><news:slrnd00hlv.79v.no.spam@thurston.blinkynet.net>:

>> Mike Yetto wrote:
>>> It was April the forty-first, being a quadruple leap year, when
>>> Blinky the Shark wrote...

>>>> Mike Yetto wrote:

>>>>> It was April the forty-first, being a quadruple leap year, when
>>>>> Wanderer wrote...

>>>>>> Erswhile

>>>>> I didn't find a question, only this silly (almost) word.

>>>>>          Mike "I hope you didn't mean erstwhile" Yetto

>>>> If you spent any time in alt.sausage-maker you'd know the word is
>>>> actually "wurstwhile".

>>> Now that's the wurst pun I've heard in years.

>>>          Mike "or was that a bun?" Yetto

>> If it was, I never sausage a bad one.

> This is a group about newsreaders.  If those are puns, you should stop
> pudding them here.

Well, just in casing you're right, okay.

-- 
Blinky                                  Linux Registered User 297263

Response To Extended Endless September:
Now kill-filing posts made with User-Agent G2
Re: XNEWS - possible bug with socket connections to NNTP server
#161840
Author: Wanderer
Date: Wed, 02 Feb 2005 16:36
16 lines
1678 bytes
Mike Yetto <myetto1@nycap.invalid> wrote in 
news:Xns95EFE32FDE442uniquelyme@individual.net:

> 
>> Erswhile
> 
> I didn't find a question, only this silly (almost) word.
> 
>          Mike "I hope you didn't mean erstwhile" Yetto

Please don't exacerbate the thread with purile spelling policing. As for a 
question, however, there was none.  I was hoping to point out a possible 
bug in socket connection handling with XNews.  Though bug reports I suppose 
are utterly pointless these days.

Wanderer
Re: XNEWS - possible bug with socket connections to NNTP server
#161859
Author: Mike Yetto
Date: Wed, 02 Feb 2005 23:58
35 lines
2427 bytes
It was April the forty-first, being a quadruple leap year, when
Wanderer wrote... 

> Mike Yetto <myetto1@nycap.invalid> wrote in 
> news:Xns95EFE32FDE442uniquelyme@individual.net:
> 
>> 
>>> Erswhile
>> 
>> I didn't find a question, only this silly (almost) word.
>> 
>>          Mike "I hope you didn't mean erstwhile" Yetto
> 
> Please don't exacerbate the thread with purile spelling
> policing. As for a question, however, there was none.  I was
> hoping to point out a possible bug in socket connection handling
> with XNews.  Though bug reports I suppose are utterly pointless
> these days. 
> 

You did not phrase the post as a bug report, it was excessively 
verbose and rambling.

I did not post a spelling correction as the sequence of letters you 
used twice is not an English word.  Nor do the two closest words fit 
into your context with any size hammer.

And the thread is no more violent, bitter, or severe than it ever 
was, unless you abhor puns and/or cascades.

We await you news reader with "baited" breath.

    	Mike "at least Blinky does" Yetto
-- 
Eschew a proclivity for grandiose sesquipedalian verbalizations.
Re: XNEWS - possible bug with socket connections to NNTP server
#161863
Author: Daddy Freddy
Date: Thu, 03 Feb 2005 00:43
16 lines
1637 bytes
On Wed, 02 Feb 2005 16:36:31 GMT, Wanderer <Wanderer@someplace.com> wrote:

>Mike Yetto <myetto1@nycap.invalid> wrote in 
>news:Xns95EFE32FDE442uniquelyme@individual.net:
>
>> 
>>> Erswhile
>> 
>> I didn't find a question, only this silly (almost) word.
>> 
>>          Mike "I hope you didn't mean erstwhile" Yetto
>
>Please don't exacerbate the thread with purile spelling policing.


That would be "puerile".
Re: XNEWS - possible bug with socket connections to NNTP server
#161914
Author: Brian Kraft
Date: Thu, 03 Feb 2005 18:43
45 lines
3487 bytes
Wanderer wrote:

>After careful analysis of my problems dealing with a heavily loaded 
>(overloaded) news server.  Here is what has been happening.  Xnews 
>establishes a connection. (Per article it appears) this appears to be a 
>BLOCKING CONNECTION (these are very bad I've learned in my many years of 
>twiddling internet stuff).  At this point XNEWS possibly uses an internal 
>timer to decide if the connection has timed out, It then tries to connect 
>again, then it times out again.  This creates 2 connections to a bogged 
>down server, in my case that's the limit so I get message 400 returned 
>"Sorry we aren't letting you connect again".

You can try to connect again, but if the server is still full you'll
get another 400.  Depending on time of day and week, and how the
server is configured, the number of 400's in a row that you'll see
might be anywhere from 2 or 3, to several hundred.

>Erstwhile the connections that it did attempt to make are STILL THERE, 
>waiting to recieve data in the OS.  This could be an OS problem.  It is one 
>reason why I set all my sockets non blocking.  I've had this deranged 
>behavior happen before but not with windows (Embeded DOS actually with a 
>nice TCP/IP stack). The end result is a 400 message for a LONG time from 
>the server. Why? Because I think there was a lack of properly disconnecting 
>the socket.  The server thinks I'm still connected LONG LONG after I've 
>disconnected.  So now there are 2 dead sockets on the server that have my 
>name on it. And thus the server is busy until it decides to disconnect 
>those sockets and let me try and connect again.  Even if windows times out 
>those sockets, they are likely still there. This is kind of bad news for me 
>in remaining connected to the news server for more than 40 seconds per 15 
>minutes.

If the server sees 3 open connections from your host, and you try to
open more, you'll start getting different responses from the server.

There are 4 different NNTP connection responses from this server:
201 [...] (connection accepted)
400 [...] (server's connection limit reached)
400 [...] (your host's connection limit reached)
502 [...] (no access from your host)

One of the reasons why I never used Xnews is I can't even log these.  
How can you debug when you can't see which kind of 400 you get?

Other clients can connect easily and use the server continuously and
automatically so you don't notice that there are any restrictions.
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