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]

[OT] Re: fork: Resource temporarily unavailable


On Thu, 18 Aug 2005, Eric Blake wrote:

According to David Arnstein on 8/18/2005 1:01 AM:
Frequently (but not always) I will launch a Cygwin command window
running bash; the new command window prints a message from bash:

--------------------------------------------------------------------------
     10 [main] bash 1880 pinfo::wait: Couldn't create pipe tracker for
pid 3768,

 Win32 error 231
bash: fork: Resource temporarily unavailable
--------------------------------------------------------------------------

This is not a bug in bash, but a limitation in the number of running processes under Windows. When cygwin cannot create a new process during a fork(), you will get this behavior. Some people have reported success turning off (or swapping) antivirus programs, or other tricks to reduce the number of running processes on their system. Other than that, I don't have any further ideas that might help you.


I recently upgraded to XP on my laptop from 2000. It seems I can run only about a hundred processes instead of 200-300. Why is the limit so low? Is it adjustable? support and msdn don't seem to say.


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 921-0381                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited.

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


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