delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/18/12:35:25

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 18 Jun 2012 18:34:26 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd connections unexpectedly close on windows 2012
Message-ID: <20120618163426.GH2394@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <888F0FAE-15FD-4642-A086-D8A987CD4112 AT infinidat DOT com>
MIME-Version: 1.0
In-Reply-To: <888F0FAE-15FD-4642-A086-D8A987CD4112@infinidat.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jun 18 18:35, Arnon Yaari wrote:
> Hi,
> I'm having problems with running sshd on cygwin on Windows Server 2012 Release Candidate.
> I installed cygwin and set up sshd, and I am opening ssh connections using a Python script (running Fabric to perform operations on the Windows machine).
> However there appears to be a problem with sshd and my connections sometimes get closed unexpectedly.
> I looked in the Event Viewer and found the following log:
> 
> "The description for Event ID 0 from source sshd cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
> 
> If the event originated on another computer, the display information had to be saved with the event.
> 
> The following information was included with the event:
> 
> sshd: PID 2860: error: do_exec_pty: fork: Resource temporarily unavailable"
> 
> I also looked in the sshd log in c:\cygwin\var\log\sshd and found this error message:
> 
> "      5 [main] sshd 180 fhandler_dev_zero::fixup_mmap_after_fork: requested 0xFEF20000 != 0x0 mem alloc base 0x0, state 0x10000, size 1179648, Win32 error 487
>    2833 [main] sshd 180 C:\cygwin\usr\sbin\sshd.exe: *** fatal error in forked process - recreate_mmaps_after_fork_failed
>    4115 [main] sshd 180 open_stackdumpfile: Dumping stack trace to sshd.exe.stackdump
>       2 [main] sshd 2396 fork: child -1 - forked process 180 died unexpectedly, retry 0, exit code 256, errno 11"
> 
> It is not easy to debug this problem because it doesn't happen every
> time I open an ssh connection but only when I open and close multiple
> connections subsequently using the Python script.

This is probably the same problem as reported in the thread starting at

  http://cygwin.com/ml/cygwin/2012-06/msg00089.html

There's no solution yet, sorry.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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