delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/10/18:25:26

X-Spam-Check-By: sourceware.org
Message-ID: <46439B99.1070009@sun.com>
Date: Thu, 10 May 2007 12:24:25 -1000
From: Joseph Kowalski <jek3 AT sun DOT com>
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
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019