[darcs-devel] ssh hangs
David Roundy
droundy at darcs.net
Mon Mar 5 12:38:40 PST 2007
On Mon, Mar 05, 2007 at 08:37:24PM +0100, Eric Y. Kow wrote:
> On Sun, Mar 04, 2007 at 08:01:16 -0800, David Roundy wrote:
> > I've found that the ssh control master stuff causes ssh to hang even on
> > linux.
>
> Argh! (then again, that is an interesting data point. Also, it really
> seems to be related to the size of the repository, wrt # of patches)
Hmmm. That's an unsettling idea.
> > I'm leaning towards the idea of making it default to off.
>
> Sigh. I don't have time to fix ssh, so I guess I will submit a patch to
> add an --enable-ssh-cm flag to sit alongside the --disable-ssh-cm.
Thanks!
> > Incidentally, while darcs doesn't hang if I execute it with
> > --disable-ssh-cm, it still seems to start the control-master process.
> >
> > $ ps ax -u droundy | grep 'ssh roundyd'
> > 5803 ? Ss 0:00 ssh roundyd at app.science.oregonstate.edu -S /tmp//darcs-ssh/roundyd at app.science.oregonstate.edu -N -f -M
> >
> > Why is that?
>
> It shouldn't do that. Is there any chance it's left over from a
> previous darcs run?
>
> This bit of code should prevent it from launching:
> when (not hasLaunchedCm && not sshControlMasterDisabled) $
> launchSSHControlMaster remoteAddr
>
> But maybe sshControlMasterDisabled is somehow unset?
I'm pretty sure I cleared it out before launching darcs with
--disable-ssh-cm. I haven't time to look into this now, but wonder if
somehow ssh is getting launched before sshControlMasterDisabled is set?
--
David Roundy
Department of Physics
Oregon State University
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070305/18bd813a/attachment.pgp
More information about the darcs-devel
mailing list