Help with Threads and httplib please

Yishai Beeri yishai at platonix.com
Tue Aug 17 14:10:15 EDT 1999


Hello,

I have a weird problem running several python threads that use httplib
to get some pages from the web. all runs ok, until suddenly all the
threads get stuck. A ctrl-c makes them all continue, until the next time
they're stuck again.

>From what I saw in the debugger, it seems that one thread is stuck in
the "connect" of the socket under httplib, and all the other threads are
waiting for some reason.

Has anyone seen this problem or has an idea? I am using Linux (RedHat 6)
and Python 1.52 with gcc 2.95

Thanks,
Yishai Beeri






More information about the Python-list mailing list