fork: Resource temporarily unavailable

Andy Hall ahall@konaware.com
Thu Oct 19 19:31:00 GMT 2006


It seems that somewhere between cygwin 1.5.19-4 and 1.5.21-2 some change was
made that causes this error.   I have a bash script that is used to create a
number of client processes that run in parallel and generate TCP/IP
conversations with a remote server being tested   This script can configure
and run any number of these clients executing simultaneously.  The clients
can be either .exe files based on .NET or a JVM (.exe) running a Java-based
client.   These scripts run flawlessly on Linux or Solaris (java clients
only) or on a Win2K Professional box running cygwin 1.5.19-4 (both java or
.NET clients)   They were also running flawlessly on a Win2K Server, until
it got upgraded to cygwin 1.5.2.21-2.   After that, the scripts run for a
while until the message "fork: Resource temporarily unavailable" occurs, at
which point there are all sorts of bizarre and unexplainable failures.  If
run for a reasonable amount of time these scripts will always result in this
error message.

The obvious question is,  "How can we revert the Win2K Server back to cygwin
1.5.2.19.4 so that we can continue to run tests from this machine?

Alternatively, is there fix or patch available for this?

I have attached the output of cygcheck for both machines.  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: w2ks.cygcheck.out
Type: application/octet-stream
Size: 24275 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061019/20a0427a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w2kp.cygcheck.out
Type: application/octet-stream
Size: 25266 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20061019/20a0427a/attachment-0001.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list