[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Tortoise 1.30 5416

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2006-01-17 14:01:44 CET

si wrote:
> [apologies for being slightly off-topic]

No problem (AFAIAC), but in the future you should change the subject
when you fork the conversation. Since you're on gmail, changing
subjects will also change the message-id stuff appropriately.

> > Oh, and a hint. Stay clear of cygwin for mission-critical use, it has
> > severe bugs.
>
> Molle, can you elaborate on this please?

It's fine for day-to-day use, eg. if you just want some utilities that
look like those on your Unix box.

But if you start using Cygwin heavily, eg. if you run multiple
Cygwin-based multithreaded applications that heavily load the system,
you can't rely on any of the software to behave the same each time you
run it. It might only be 1 out of 100.000 times that it fails, but it
*will* fail :-). Apparently the cause is subtle race conditions
buried deep in the Cygwin emulation code, or some such.

The effect is that Cygwin applications in this kind of environment will:
 * Crash.
 * Use 100% CPU time.
 * Use loads of RAM.
 * Hang.
 * Hang and become unkillable by normal means (eg. you need to use the
attach-a-debugger trick).

Some problems has been reported on the Cygwin mailing list several
times (with several months in between) over at least a couple of
years, and yet they have to be fixed in Cygwin. I'll refrain from
trying to guess why this is the state of affairs, but there are
probably several reasons.

> I'm looking to use sshd service via cygwin to provide
> svn+ssh access in a production environment for
> secure distributed development.
>
> The TortoiseSVN FAQ also mentions cygwin:
> http://tortoisesvn.sourceforge.net/node/156

Doesn't sound like it's going to be a heavily loaded system, so
chances are it will probably work fine. If I had to guess, I'd say
that the worst you'll experience is probably that it could crash
randomly from time to time. That's an easy situation to work around.

And if things don't work out, you can probably somewhat easily switch
emulation layer from Cygwin to something else, like one of the
solutions from Microsoft or MKS.

Hmm. Is there really no native Windows version of sshd?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Jan 17 14:38:22 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.