Clueless! sshd ONLY fails at system startup (XP/SP3) ...

Houder houder@xs4all.nl
Thu May 25 16:05:00 GMT 2017


Hi,

YES, I know, XP is NOT supported anymore ... However, I started
out on XP ... and it has sshd running as a Window service,

     installed and configured (as approved by Corinna :-)

... some time ago I may have upgraded openssh over there (yes, I
am now running W7) ... I cannot really remember. Yes, sometimes I
visit (ssh) the "old station" (XP) for info that I am missing.

(both machines are behind a firewall - rest assured)

"Suddenly" (yesterday?) I noticed that the "sshd daemon" fails;
it is started at system startup (i.e. an automatic service).

When the service is restarted after system startup, i.c.

     cygrunsrv -E sshd; cygrunsrv -S sshd

it then works flawlessly (which amazes me, given the error in
the sshd.log)

... tried several things ... in the end, I reinstalled Cygwin +
openssh (a minimal installation) -- using the time machine.

However this new, minimal installation of Cywin fails in the exact
same way!

Again tried some things ... Finally, I decided to post my problem.

Any suggestions? (Yes, XP has F-Secure as anti-virus)

The message in the sshd.log:

Server listening on 0.0.0.0 port <X>.^M # X = some port, but not 22
       1 [main] sshd 3152 E:\Cygwin25\usr\sbin\sshd.exe: *** fatal error 
in forked process - fork: can't reserve memory for parent stack 0x30000 
- 0x230000, (child has 0x40000 - 0x240000), Win32 error 487
  395874 [main] sshd 3152 cygwin_exception::open_stackdumpfile: Dumping 
stack trace to sshd.exe.stackdump
       3 [main] sshd 536 fork: child -1 - forked process 3152 died 
unexpectedly, retry 0, exit code 0x100, errno 11
fork: Resource temporarily unavailable^M

Do I interpret this correctly? The child (sshd) fails to "allocate
stack for the parent (sshd)" ...

WHY does this only happen at system STARTUP ?????

Regards,

Henri

(this message should include cygcheck.out - I hope)

======

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170525/971c4cba/attachment.ksh>
-------------- next part --------------

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


More information about the Cygwin mailing list