Hang at commit time when using sftp or bzr+ssh

Stephen Auyeung stephen at ck12.org
Wed Dec 7 03:13:38 UTC 2011


Additional information: I found that there are 8 of those ssh process running before the commit hangs. Could someone please take a look?

 

Thanks,

Stephen

 

From: Stephen Auyeung [mailto:stephen at ck12.org] 
Sent: Tuesday, December 06, 2011 3:13 PM
To: 'Gordon Tyler'
Cc: bazaar at lists.canonical.com
Subject: RE: Hang at commit time when using sftp or bzr+ssh

 

I have a bit more information on the hang. The process calling workingTree.commit() (and holding the lock) is in waitpid(9133, …) and process 9133 is showing the following in ps:

 

ssh -oForwardX11=no -oForwardAgent=no -oClearAllForwardings=yes -oNoHostAuthenticationForLocalhost=yes localhost bzr serve --inet --directory=/ --allow-writes

 

Any clue?

 

Thanks,

Stephen

 

From: Stephen Auyeung [mailto:stephen at ck12.org] 
Sent: Tuesday, December 06, 2011 11:33 AM
To: 'Gordon Tyler'
Cc: bazaar at lists.canonical.com
Subject: RE: Hang at commit time when using sftp or bzr+ssh

 

Thanks, Gordon. I updated bzr to 2.4.2 and bzrlib to 2.4.1; but the hanging still happens. Any other idea?

 

Thanks,

Stephen

 

From: gordon.tyler at gmail.com [mailto:gordon.tyler at gmail.com] On Behalf Of Gordon Tyler
Sent: Tuesday, December 06, 2011 6:45 AM
To: stephen at ck12.org
Cc: bazaar at lists.canonical.com
Subject: Re: Hang at commit time when using sftp or bzr+ssh

 

Looks 2.4.1 is the officially released version currently available in Ubuntu Oneiric: https://launchpad.net/ubuntu/oneiric/+source/bzr/2.4.1-1ubuntu1

On Mon, Dec 5, 2011 at 11:59 PM, Stephen AuYeung <stephen at ck12.org> wrote:

I updated bzr to 2.4.2 but could not find the 2.4.2 version of bzrlib.

 

Thanks,

Stephen

 

From: gordon.tyler at gmail.com [mailto:gordon.tyler at gmail.com] On Behalf Of Gordon Tyler
Sent: Monday, December 05, 2011 8:30 PM


To: stephen at ck12.org
Cc: bazaar at lists.canonical.com
Subject: Re: Hang at commit time when using sftp or bzr+ssh

 

Ehhh... I'm not too up on the Ubuntu packaging, but I would assume that all bzr related packages must be at the same version. So if you update bzr to 2.4.2 then python-bzrlib should be updated to 2.4.2 as well, if it doesn't enforce that already.

 

2.4.2 is a patch release, which are meant to be stable for production. I would say it's definitely better than using 2.4b1 which is a *beta* prelease of 2.4.0.

On Mon, Dec 5, 2011 at 10:32 PM, Stephen Auyeung <stephen at ck12.org> wrote:

Thanks, Gordon. How about python-bzrlib? Is 2.4.2 on Ubuntu stable enough for production yet?

 

Thanks,

Stephen

 

From: gordon.tyler at gmail.com [mailto:gordon.tyler at gmail.com] On Behalf Of Gordon Tyler
Sent: Monday, December 05, 2011 7:16 PM
To: stephen at ck12.org
Cc: bazaar at lists.canonical.com
Subject: Re: Hang at commit time when using sftp or bzr+ssh

 

On Mon, Dec 5, 2011 at 10:12 PM, Stephen Auyeung <stephen at ck12.org> wrote:

FYI, I am using 2.4b1, and I am creating the centralized server and client
as follows:

 

Try updating to bzr 2.4.2. Dunno if that will help but it's worth a try.

 

Ciao,

Gordon

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20111206/655e3ac9/attachment.html>


More information about the bazaar mailing list