Article View: news.software.readers
Article #161746XNEWS - possible bug with socket connections to NNTP server
From: Wanderer
Date: Tue, 01 Feb 2005 02:38
Date: Tue, 01 Feb 2005 02:38
30 lines
2935 bytes
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
Technical Details
Message-ID:
<Xns95EFE4CEBAF79Z23AXNZADEF2UFS@69.28.186.121>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed.r-kom.de!newsfeed.stueberl.de!peer01.cox.net!cox.net!hwmnpeer01.lga!hwmedia!hw-poster!fe03.lga.POSTED!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <Xns95EFE4CEBAF79Z23AXNZADEF2UFS@69.28.186.121> Subject: XNEWS - possible bug with socket connections to NNTP server Date: Tue, 01 Feb 2005 02:38:46 GMT From: Wanderer <Wanderer@someplace.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed.r-kom.de!newsfeed.stueberl.de!peer01.cox.net!cox.net!hwmnpeer01.lga!hwmedia!hw-poster!fe03.lga.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers Organization: The Nonsensical Org User-Agent: Xnews/??.01.14 Lines: 30 X-Trace: idmkcnjgmiagocdekclmhhllkfoaopoplokeffldggihlnkldgfnhpogkgnjjhecbjihfpmemcadpgbonfablopalkbgpknindipabeecgocfchihiegdodobniopogmbcfagklmibllijll NNTP-Posting-Date: Mon, 31 Jan 2005 19:38:46 MST