SSH running slow on cygwin

2

I have a Windows XP box with Cygwin running and the SSH service. I'd like to use PuTTY to connect to it from other computers on the local network. PuTTY works fine and I actually get a relatively speedy login prompt. But anytime I do an 'ls' on the root directory ('/') it typically doesn't complete, like the command is hung. Other PuTTY sessions suffer as well, no matter what i'm doing (even just an 'ls' on my home directory might take awhile or not finish). It is like a deadlock occurred somewhere in the ssh/cygwin system.

The root directory does contain the 'cygdrive' folder which is the contents of the host computer. Could this be causing the slowdown?

Robb

Posted 2011-06-23T14:39:24.113

Reputation: 167

Do you see the same behaviour in native cygwin sessions on the Windows XP box? – EightBitTony – 2011-06-23T14:46:40.233

@EightBitTony Fairly certain I don't see that but i'd have to check. Which I can't do until later today. – Robb – 2011-06-23T14:47:40.273

I have a feeling this might be related to network shares located in the structure of cygdrive... – Robb – 2011-06-23T20:39:05.720

Does is the issue go away if you disable on-demand virus scanning on the XP box (assuming it's turned on) – EightBitTony – 2011-06-23T21:03:30.050

It is looking like a network share that was unavailable was causing the ls command to grind to a halt. – Robb – 2011-06-24T02:50:53.547

Answers

1

Well, the issue was most certainly a network share that was unavailable. Basically the computer SSH was being hosted on talks to my wife's computer's shared directories. Well, her computer wasn't available (sleeping I believe) and it really hosed up Cygwin.

When I woke her computer up, everything started zooming again. I am confident that cygwin was unable to stat the network share and caused the slowdown.

If anyone has a better write up, I'll gladly accept that as an answer.

Robb

Posted 2011-06-23T14:39:24.113

Reputation: 167