[paramiko] Paramiko hang another instance.

Robey Pointer robey at lag.net
Sun Sep 23 23:37:32 PDT 2007


On 19 Sep 2007, at 10:11, jd wrote:

>    I am running in to the following hang.. can someone
> please elaborate what might be going on ?
>
> Basically Thread 6 is in __socket.recv in packet.py,
> while all other thread seems to be waiting on it.
>
> Why would recv block and not respect any timeouts ? or
> should other thread be waiting, trying to create new
> SFTPClient ?

A timeout is set on each python-level socket inside the Transport, so  
nothing should be blocking in __socket.recv for more than about 0.1  
second before a timeout occurs. You might check strace to see what  
else is going on.

robey




More information about the paramiko mailing list