Hi,

I run in a similar problem after I have updated cygwin1.dll from 1.7.9 to 1.7.11 on Win2k3 64bit. When I now try to start sshd as a service

C:\>net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service could not be started.

A system error has occurred.

System error 1067 has occurred.

The process terminated unexpectedly.


In the windows event viewer I found

"... starting service `sshd' failed: fork: 11, Resource temporarily unavailable."

Inspired by Carl Soderstrom's solution for a similar problem I have tried a program-individual heap size setting using

$ peflags --cygwin-heap=1024 /usr/sbin/sshd.exe

but without success. Unfortunately, since we have now cygwin1.dll in version 1.7.11 I can no longer simply roll back to 1.7.9 (where the heap setting was done in the previous global way).

Any hints welcome - Ulf-Dietrich


On Feb 16, Carl Soderstrom wrote:

I want to make sure my solution ends up in the archives for the benefit of other people.

...

> http://cygwin.com/cygwin-ug-net/setup-maxmem.html

Thank you, that was helpful. In the end what seems to have fixed it was to run an ash.exe shell (launched directly from the Start -> Run dialog), run 'cd /bin;PATH=. rebaseall' in that, then re-launch the Cygwin terminal, run the following commands:

$ peflags --cygwin-heap=1024 /usr/bin/run.exe
$ peflags --cygwin-heap=1024 /usr/bin/cygrunsrv.exe

I do not know if all those steps were necessary, but the programs seem to work correctly now.

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

Reply via email to