Comment 2 for bug 426662

Revision history for this message
Andrew Bennetts (spiv) wrote : Re: Accessing remote branches "leaks" open file descriptors

I can reproduce this with sftp:// URLs, but not bzr:// or bzr+ssh://.

For SFTP, the issue seems to be the subprocess management: nothing causes the /usr/bin/ssh processes to be terminated after the last reference to the SFTP connection goes away, so the stdin and stderr pipes linger indefinitely for each connection (hence the 2 fds leaked per open). I have a branch that fixes this.