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: 1.7.10 cygrunsrv.exe fails with "fork: 11, Resource temporarily unavailable"


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.



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: FAQ: Documentation: Unsubscribe info:

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