network programming problem??
Jp Calderone
exarkun at intarweb.us
Wed Apr 30 17:03:26 EDT 2003
On Wed, Apr 30, 2003 at 01:36:01PM -0700, kkennedy wrote:
> I have written a small script to retrieve the python.org web page 7
> times. I did this to try and provide data for a percieved problem in
> another Python program. I ran this script on Windows XP and SuSE Linux
> 8.2 both running on the same machine (Athlon XP 2000+, 512MB RAM,
> D-Link DFE-530TX+ NIC). Here is the script:
DNS is a likely culprit. Try using an IP instead of a hostname. Or, try
using strace and noting the functions that take an overly large amount of
time.
Jp
--
http://catandgirl.com/view.cgi?44
--
up 41 days, 17:04, 5 users, load average: 0.97, 1.00, 0.66
More information about the Python-list
mailing list