This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd connections unexpectedly close on windows 2012


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]