Able to ping but cannot browse after several hours running of my python program

Posted by Shane on Stack Overflow See other posts from Stack Overflow or by Shane
Published on 2011-01-15T01:55:30Z Indexed on 2011/01/15 2:53 UTC
Read the original article Hit count: 397

It's a GUI program I wrote in python checking website/server status running on my XP SP3, multi threads are used to check different site/server. After several hours running, the program starts to get urlopen error timed out all the time, and this always happens right after a POST request from a server(not a certain one, might be A or B or C), and it's also not the first POST request causing the problem, normally after several hours running and it happens to make a POST request at an unknown moment, all you get from then on is urlopen error timed out.

I'm still able to ping but cannot browse any site, once the program closed everything's fine. It's definitely the program causing this problem, well I just don't know how to debug/check what the problem is, also don't know if it's from OS side or my program wasting too many resources/connections(are you still able to ping when too many connections used?), would anybody please help me out?

© Stack Overflow or respective owner

Related posts about python

Related posts about multithreading