X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0	tests=BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: 7force <7force@gmail.com>
Subject: RSH hangs indefinitely
Date: Thu, 9 Sep 2010 04:37:43 +0000 (UTC)
Lines: 21
Message-ID: <loom.20100909T063036-735@post.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Here is the situation I have and the things I did to get it:-

1. Initiate an RCP connection from Server A (Windows Vista) via Cygwin to Server
B (Linux).
2. Disconnect the RJ45 cable to simulate a server down event (@ Server B).
This is where I notice two possibilities.

Scenario #1
RJ45 unplug while the RCP/RSH is synchronising (used netstat). In this case, the
session at Server A will close nicely.

Scenario #2
RJ45 unplug after the RCP/RSH hits ESTABLISHED (used netstat). This is when the
session at Server A will remain opened indefinitely. I have waited more than two
hours for it to close but it's not happening yet (or ever).

Question:-
1. Is this a Windows issue or a Cygwin issue?
2. How do I remedy this issue?




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

