X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Chris Britton Subject: Re: bash:fork: Resource temporarily unavailable - SOLUTION Date: Mon, 15 Jan 2007 07:24:50 +0000 (UTC) Lines: 46 Message-ID: References: <45A9C26C DOT 5050800 AT manfred-ursprung DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Manfred Ursprung manfred-ursprung.de> writes: > > I have installed cygwin with setup version 2.510.2.2, and also put the > path to C:\cygwin\bin. > I start cygwin - all is okay, command pwd is okay, when I start command "ls" > I got the following error: > > 5 [main] bash 3268 child_copy: stack write copy failed, > 0x22C3B0..0x230000, done 1624, windows pid 2278084, Win32 > error 998 > 5651 [main] bash 3268 fork: child 3400 - pid 3400, exitval 0x103, > errno 11 > bash: fork: Resource temporarily unavailable > > How can I solve it ? > > Regards Manfred On my system this was caused by a product called "System Mechanic". Specifically, a service named "iolo DMV Service" (ioloDMVSvc.exe). Apparently, this service injects code into every running process. This service is insidious because it is not removed when "System Mechanic" is uninstalled. It also hides itself from Task Manager. Here's what I did to get rid of it. First, I uninstalled "System Mechanic" using the "Add or Remove Programs" control panel. Then, I ran "msconfig" and unchecked the "iolo DMV Service" entry on the "Services" tab. I clicked OK to dismiss the "msconfig" window and rebooted. I deleted what remained of the "System Mechanic" installation directory by removing "C:\Program Files\iolo". Finally, I removed any traces of "System Mechanic" from the registry by deleting any keys that contained the string "iolo". Since then, I have been able to use cygwin without error. As a bonus, all my programs launch much faster too. If you don't have "System Mechanic" on your system, look for other software that might perform code injection on running processes. Hope this helps. Chris -- 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/