Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Mom always said to clean up after yourself, now I know she was right - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

Mom always said to clean up after yourself, now I know she was right

Ok, I have been working on this NNTP Spider that goes out to a news server and sucks down the content from various defined newsgroups and sticks the content into a database so that it can be searched on.  Well, the idea works all well and good, but the spider app seems to die within about 5-10 minutes of running.  There is no error that is bubbled up.  If I run within VS.NET, I just get an error and the app quits.  There is no line that the app stops on with a message box or anything like that.  Well, i decided to run this thing under Whidbey and try out some new features in Whidbey (expanded ThreadPool Threads and such).  Well, lo and behold, while running under the debugger, I find that I was getting a socket exception error.  I looked back through my code, and I found that I was not disconnecting from the news server.  I now explicitly call the .Disconnect() method of the Smilla client, and bang everything seems to be working.  I have been running now for about 20 minutes and I have not had a problem.  I am keeping my finger's crossed and I hope that I won't have a problem any more in this area.

Mom was right.  I never did a good job of cleaning up after myself.  Now I know that I need to always check and make sure to clean up after myself better.

Wally

Posted: May 26 2004, 10:31 AM by Wallym | with 1 comment(s)
Filed under:

Comments

Scott Mitchell said:

Wally, on a side note, have you heard about this - an NNTP managed provide for ADO.NET?
http://ryanfarley.com/blog/archive/2004/05/21/701.aspx
-and-
http://workspaces.gotdotnet.com/nntpClient
# May 27, 2004 11:06 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)