Skip to content

Slow disconnects at end of session #158

@bitprophet

Description

@bitprophet

Description

Multiple users have now exhibited a problem where the tail end of their Fabric session hangs for 1-2 minutes, after the 'Disconnecting from x' message appears. It's unclear yet whether the hang is occurring during the call to SSHClient.close() or between those calls and the sys.exit().


At least one user (mdr22 on IRC) SO question here was able to make the problem go away by upgrading from the bundled Paramiko 1.7.4 to 1.7.6. He was on OS X 10.6.3 and had recently upgraded to MacPython 2.6.5 from MacPython 2.6.4, but it's unclear if that Python upgrade was the cause.

Additionally, he exhibited the problem on servers running Ubuntu 6.10 and 9.10, which implies the issue is not likely to be on the server end -- 6.10 is not LTS and thus hasn't had any package upgrades in years. Could still be a remote config issue I suppose.)


IRC user vxnick had a possibly related issue which went away after shuffling various components around -- see IRC logs for more info, can't remember details but I don't think we ran into anything conclusive.


Yet another user (IRC: cortex) is having the issue, local OS is Ubuntu 10.04, Python 2.6.5, Paramiko 1.7.4, remote OS is Ubuntu 9.10. He's trying Paramiko 1.7.6 as I type this.


So far, the only pattern is Python 2.6.5, so I wonder if 2.6.5 + Paramiko 1.7.4 is what's causing this. Will have to see.


Originally submitted by Jeff Forcier (bitprophet) on 2010-04-23 at 09:46am EDT

Relations


Closed as Done on 2010-09-05 at 11:13pm EDT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions