urllib slow on FreeBSD 4.7?
Brian Quinlan
brian at sweetapp.com
Tue Nov 19 19:28:24 EST 2002
dsavitsk wrote:
> >>> f = open('somefile')
> >>> u = urllib.urlopen('http://site/index.asp?file=somefile')
> >>> f.write(u.read())
>
> to get a 5 meg file takes about 1 to 2 seconds on a 500mhz windows
> computer and nearly 2 minutes on a 150mhz freebsd computer.
> (redhat 8 on a PII350 is also fast) both client computers and the
> server are on the same network. any ideas? any other ways to get the
> file?
Could you try retrieving the file using wget/curl/etc on FreeBSD to
verify that it is not a network problem?
Cheers,
Brian
More information about the Python-list
mailing list