delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/09/00:45:34

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: 7force <7force AT gmail DOT 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
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019