[darcs-devel] ssh hangs

Eric Y. Kow eric.kow at gmail.com
Mon Mar 5 11:37:24 PST 2007


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)

> 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.

> 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?

-- 
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon français.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070305/2dbeb357/attachment.pgp


More information about the darcs-devel mailing list