X-Spam-Check-By: sourceware.org Message-ID: <46439B99.1070009@sun.com> Date: Thu, 10 May 2007 12:24:25 -1000 From: Joseph Kowalski User-Agent: Thunderbird 1.5.0.5 (X11/20060925) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: DualCores and Current Cygwin problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 I think the following sad story should shed a little light on this issue. I'm attempting to use cygwin to provide the UNIX-like build environment to build Java SE on a DualCore system. Relevant configuration details: AMD X2 5200+ Asus M2NPV-VM 2 Gb ECC memory (std. clocks) I'm working to improve the documentation for the Java SE build, so I know *exactly* what's on the system. The installations are: 1) Windows XP, fully updated 2) Visual Studio .NET Professional (2003) 3) Microsoft Platform SDK (2004 - *not* R2) 4) Microsoft DirectX SDK (Summer 2004) 5) Sun Java 6 SDK (1.6.0_01) 6) Cygwin (current) That's it. No additional software components. None. With this configuration, I get random "can not fork: Resource temporarily unavailable" errors when trying to perform the fairly large and complex product build. I also get "dup_proc_pipe" failures, which are fairly random, but tend to be understandably associated with long pipes in the build process. If I add /ONECPU to boot.ini, neatly turning my DualCore system into a single core system, the failures all magically disappear. This would tend to indicate that there is a multi-threading issue either in cygwin or in the underlying Windows XP operating environment. It hopefully also provides a work-around (abet a somewhat painful one). It's probably worth trying by all who have been reporting this failure. If it doesn't eliminate the failure for you, its an indication that there may be multiple failures involved. - cheers and good luck (these are hard problems to track down), - Joseph Kowalski -- 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/