delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/11/22/22:59:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: xargs: cannot fork: Resource temporarily unavailable
Date: Fri, 23 Nov 2007 05:59:11 +0200
Message-ID: <5A3418AC7876DC4B9FEEC69799C39B1F2B9E15@servo.Traderoot.local>
From: "Jose Correia" <jose DOT correia AT traderoot DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id lAN3xh5s004371

Hi all

Sometime ago I posted saying it could have been the Logitech services
running, as I had read somewhere on the mailing list, but unfortunately
that is not the case, the problem below still persists... Can someone
shed some urgent light on this matter please?

Appreciated
Jose Correia


-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf
Of Jose Correia
Sent: 12 November 2007 03:55 PM
To: cygwin AT cygwin DOT com
Subject: xargs: cannot fork: Resource temporarily unavailable

Hi all
 
Im using cygin install when the cygwin install version 2.457.2.2 on
Windows XP professional SP2, on an IBM ThinkPad Dual Processor T60.
 
I run a unix script from a bigger ant script, which used to work fine on
a single processor laptop. Now it works intermittently 
 
The Unix script is this:
 
#START
export SRC=$1
 
find $SRC -type d -name 'CVS' | xargs -i rm -rf {}
 
mv $SRC/tres/src/java/com/traderoot/core/
$SRC/tres/src/java/com/traderoot/cfgcore
#for jaxb generated source
mv $SRC/com/traderoot/core/ $SRC/com/traderoot/cfgcore
 
grep -Rl  'com.traderoot.core' $SRC | xargs -i ./replace.sh
's/com\.traderoot\.core/com.traderoot.cfgcore/g' {} grep -Rl
'com/traderoot/core' $SRC | xargs -i ./replace.sh
's#com/traderoot/core#com/traderoot/cfgcore#g' {} grep -Rl
'com.traderoot.tools' $SRC | xargs -i ./replace.sh
's/com\.traderoot\.tools/com.traderoot.cfgtools/g' {}
 
#END
 
On the times when it does not work it spews out:
 
[exec] + xargs -i ./replace.sh
's/com\.traderoot\.tools/com.traderoot.cfgtools/g' '{}'
     [exec] replacing in
bootloadergensrc/com/traderoot/cfgtools/artifact/jaxb/Additionaldata.jav
a
     [exec] replacing in
bootloadergensrc/com/traderoot/cfgtools/artifact/jaxb/Address.java
     [exec] replacing in
bootloadergensrc/com/traderoot/cfgtools/artifact/jaxb/Arg.java
     [exec] replacing in
bootloadergensrc/com/traderoot/cfgtools/artifact/jaxb/impl/JAXBVersion.j
ava
     [exec]       4 [main] xargs 112660 fork_copy: linked dll data/bss
pass 0 failed, 0x54D000..0x54D020, done 0, windows pid 114584, Win32
error 487
     [exec] xargs: cannot fork: Resource temporarily unavailable
 
 
Could this be because of the dual processor where somehow the one
process is left hanging waiting for the other? Anyone experienced this
issue before...? can't find anything on the archives...
 
Regards
Jose Correia
 
 
 
 

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


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