Q: socket error in multi-threaded urlopen
Aahz Maruch
aahz at panix.com
Tue May 8 23:36:06 EDT 2001
In article <UXXJ6.4592$ki5.59533 at vixen.cso.uiuc.edu>,
Seung-won Hwang <shwang5 at students.uiuc.edu> wrote:
>
>I'm trying to call urlopen using multiple threads and it gives me the
>following errors. I'm experimenting if I can call hundreds of 'urlopen'
>calls simulataneously. Is there any way to get around this 'too many
>open files' problem in doing so?
I think you don't want to do this. Use a threadpool.
--
--- Aahz <*> (Copyright 2001 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het Pythonista http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"Don't be so humble -- you are not that great." --Golda Meir
More information about the Python-list
mailing list