delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SARE_RECV_BEZEQINT_B |
X-Spam-Check-By: | sourceware.org |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer:x-gm-message-state; bh=35yBifcsrjwZD3rxvRcIXO0QenclLh5doaPUSGh/00o=; b=NXvqneQ2SBqLHu7ByCq3DSvUhnxG+zSvdnsL4ggxTB1xjjKAHUga921JByGvfmeOqc 6azgxtD1omhkLf3RFfdSfu7ZZOs6GKK68q5dJHxVYHQEheqdUeXT/hi8clNYIQND49KM csts1u7L2cVgQ3Q9NL9fXUAHwW19g7h3plSXiUnKsASGIUXXeaN+L1uP0m98UnFBEU2i bguOMxQidCw7kexMKqwOtraEr2T6CgnQ6TdBeOJs0Fg9Dlouv+P8q7IO8eAPXWdaekRo 11BqmzHU8xAPIMh5P3rvnknTrwxCFdEYS7Nf7t92sZnH0HMJQEtUaF6EpV1Yc7VNuZ6Q JeuQ== |
From: | Arnon Yaari <arnony AT infinidat DOT com> |
Subject: | sshd connections unexpectedly close on windows 2012 |
Date: | Mon, 18 Jun 2012 18:35:26 +0300 |
Message-Id: | <888F0FAE-15FD-4642-A086-D8A987CD4112@infinidat.com> |
To: | cygwin AT cygwin DOT com |
Mime-Version: | 1.0 (Apple Message framework v1278) |
X-Gm-Message-State: | ALoCoQnMXaEUgLDuIXy/5JdI5FquknVibQ05hWAOTvJhV77TklcI/RSPCr6GzQ69U1j3zVTgc65R |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q5IFarWv012361 |
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. It appears to be random and the script crashes (because of closed connections) at different points every time. I tried following the FAQ suggestions and some suggestions from other threads but I had no luck: I tried running rebaseall with 0x77000000 and 0x40000000. I tried the latest version of cygwin1.dll. I tried increasing the heap size in the Windows registry. Restarting the process or using retry loops is not an option because the problem persists. The same script and setup work fine on Windows 2003, 2008, 2008R2, and Windows 7. Any idea what might be causing this problem on Windows 2012? Perhaps some memory settings that I'm missing? Thanks Arnon -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |