* fork: retry: Resource temporarily unavailable
@ 2011-06-15 11:15 Kevin Layer
2011-06-15 22:55 ` Ryan Johnson
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Layer @ 2011-06-15 11:15 UTC (permalink / raw)
To: cygwin
I'm testing a new machine. It's running Server 2008 R2 (64-bit) on a
dual AMD Opteron 6134. The machine has 48GB of RAM and is nowhere
near being used up. cygcheck -s at end.
When running make, which spawns shell scripts from time to time, I see
this:
making testxgc.dll
../../version.sh: fork: retry: Resource temporarily unavailable
../../version.sh: fork: retry: Resource temporarily unavailable
../../version.sh: fork: retry: Resource temporarily unavailable
../../version.sh: fork: retry: Resource temporarily unavailable
../../version.sh: fork: Resource temporarily unavailable
LINK : fatal error LNK1104: cannot open file '..\..\.obj'
make[3]: *** [testxgc.dll] Error 80
rm testxgc.obj
==== check "compile-31.out" for errors and/or warnings ====
make[2]: *** [compile-tests-31] Error 1
make[1]: *** [dotest-31] Error 2
make: *** [all-tests0] Error 2
$
If I run again, it works fine.
Hoping someone has some ideas on this.
Thanks.
Kevin
******************** cygcheck -s
Cygwin Configuration Diagnostics
Current System Time: Wed Jun 15 04:06:21 2011
Windows 2008 R2 Server Enterprise Ver 6.1 Build 7601 Service Pack 1
Running under WOW64 on AMD64
Running in Terminal Service session
Path: .
C:\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\Windows\system32
C:\Windows
.
C:\Windows\System32\Wbem
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\WinNT
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\win64\x86\AMD64
C:\openssl-1.0.0d.64\bin
C:\Windows\System32\WindowsPowerShell\v1.0
Output from C:\cygwin\bin\id.exe
UID: 11003(layer) GID: 10513(Domain Users)
10513(Domain Users) 545(Users)
SysDir: C:\Windows\system32
WinDir: C:\Windows
PWD = '/home/layer/acl82.64/src/cl/src'
CYGWIN = 'nodosfilewarning'
HOME = '/home/layer'
Use '-r' to scan registry
obcaseinsensitive set to 1
Cygwin installations found in the registry:
System: Key: c5e39b7a9d22bafb Path: c:\cygwin
c: hd NTFS 2097050Mb 3% CP CS UN PA FC
e: cd N/A N/A
f: cd N/A N/A
y: net NTFS 15118Mb 76% CP CS UN PA pc
z: net NTFS 15118Mb 76% CP CS UN PA pc
C: /c user binary,noacl,posix=0
Y: /y user binary,noacl
Z: /z user binary,noacl
C:/cygwin / system binary,noacl
C:/cygwin/bin /usr/bin system binary,noacl
C:/cygwin/lib /usr/lib system binary,noacl
cygdrive prefix /cygdrive user binary,noacl,posix=0,auto
Found: C:\cygwin\bin\awk
-> C:\cygwin\bin\gawk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Found: C:\Windows\system32\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: .\patch
Found: C:\cygwin\bin\patch.exe
Found: .\patch
Not Found: patch
Found: C:\cygwin\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: .\test
Found: C:\cygwin\bin\test.exe
Found: .\test
Not Found: test
Found: C:\cygwin\bin\vi
-> C:\cygwin\bin\vim-nox.exe
Found: C:\cygwin\bin\vim
-> C:\cygwin\etc\alternatives\vim
-> C:\cygwin\bin\vim-nox.exe
15k 2009/12/27 C:\cygwin\bin\cygattr-1.dll
62k 2011/05/21 C:\cygwin\bin\cygbz2-1.dll
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll
1147k 2011/03/16 C:\cygwin\bin\cygcrypto-0.9.8.dll
284k 2010/06/01 C:\cygwin\bin\cygcurl-4.dll
943k 2007/12/17 C:\cygwin\bin\cygdb-4.5.dll
1296k 2007/12/17 C:\cygwin\bin\cygdb_cxx-4.5.dll
511k 2010/06/17 C:\cygwin\bin\cygedit-0.dll
118k 2008/05/09 C:\cygwin\bin\cygexpat-1.dll
43k 2010/01/02 C:\cygwin\bin\cygform-10.dll
40k 2009/03/01 C:\cygwin\bin\cygform-8.dll
47k 2010/01/02 C:\cygwin\bin\cygformw-10.dll
44k 2011/03/22 C:\cygwin\bin\cyggcc_s-1.dll
19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll
8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll
315k 2009/06/06 C:\cygwin\bin\cyggmp-3.dll
25k 2011/01/26 C:\cygwin\bin\cyghistory7.dll
358k 2011/04/29 C:\cygwin\bin\cygicons-0.dll
980k 2011/01/28 C:\cygwin\bin\cygiconv-2.dll
193k 2010/05/16 C:\cygwin\bin\cygidn-11.dll
31k 2009/04/03 C:\cygwin\bin\cygintl-8.dll
5k 2011/03/29 C:\cygwin\bin\cyglsa.dll
9k 2011/03/29 C:\cygwin\bin\cyglsa64.dll
123k 2011/05/19 C:\cygwin\bin\cyglzma-5.dll
25k 2010/01/02 C:\cygwin\bin\cygmenu-10.dll
21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll
25k 2010/01/02 C:\cygwin\bin\cygmenuw-10.dll
211k 2009/06/06 C:\cygwin\bin\cygmp-3.dll
63k 2010/01/02 C:\cygwin\bin\cygncurses++-10.dll
66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll
63k 2010/01/02 C:\cygwin\bin\cygncurses++w-10.dll
195k 2010/01/02 C:\cygwin\bin\cygncurses-10.dll
237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll
244k 2010/01/02 C:\cygwin\bin\cygncursesw-10.dll
13k 2010/01/02 C:\cygwin\bin\cygpanel-10.dll
11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll
13k 2010/01/02 C:\cygwin\bin\cygpanelw-10.dll
224k 2010/06/15 C:\cygwin\bin\cygpcre-0.dll
10k 2010/06/15 C:\cygwin\bin\cygpcreposix-0.dll
1627k 2010/08/29 C:\cygwin\bin\cygperl5_10.dll
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
164k 2011/01/26 C:\cygwin\bin\cygreadline7.dll
8k 2011/05/05 C:\cygwin\bin\cygsigsegv-2.dll
121k 2010/06/01 C:\cygwin\bin\cygssh2-1.dll
263k 2011/03/16 C:\cygwin\bin\cygssl-0.9.8.dll
8k 2011/03/22 /usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5
Access is denied.
C:\cygwin\bin\cygssp-0.dll
771k 2011/03/22 C:\cygwin\bin\cygstdc++-6.dll
48k 2010/01/02 C:\cygwin\bin\cygtic-10.dll
48k 2010/01/02 C:\cygwin\bin\cygticw-10.dll
28k 2010/03/28 C:\cygwin\bin\cygwrap-0.dll
76k 2010/08/01 C:\cygwin\bin\cygz.dll
2604k 2011/03/29 C:\cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.7.9
DLL epoch: 19
DLL old termios: 5
DLL malloc env: 28
Cygwin conv: 181
API major: 0
API minor: 237
Shared data: 5
DLL identifier: cygwin1
Mount registry: 3
Cygwin registry name: Cygwin
Program options name: Program Options
Installations name: Installations
Cygdrive default prefix:
Build date:
Shared id: cygwin1S5
Service : rsyncd
Current State : Running
Controls Accepted : Stop
Command : c:\cygwin\bin\rsync --daemon --no-detach
Cygwin Package Information
Package Version Status
_update-info-dir 00963-1 OK
alternatives 1.3.30c-10 OK
base-cygwin 3.0-1 OK
base-files 4.0-6 OK
bash 4.1.10-4 OK
bzip2 1.0.6-2 OK
coreutils 8.10-1 OK
cpio 2.11-1 OK
crypt 1.1-1 OK
csih 0.9.4-1 OK
cvs 1.12.13-10 OK
cvsps 2.2b1-1 OK
cygrunsrv 1.34-1 OK
cygutils 1.4.6-1 OK
cygwin 1.7.9-1 OK
cygwin-doc 1.7-1 OK
dash 0.5.6.1-2 OK
diffutils 2.9-1 OK
dos2unix 5.3-1 OK
editrights 1.01-2 OK
findutils 4.5.9-2 OK
gawk 3.1.8-1 OK
gettext 0.17-11 OK
git 1.7.5.1-1 OK
git-gui 1.7.5.1-1 OK
gitk 1.7.5.1-1 OK
grep 2.6.3-1 OK
groff 1.20.1-2 OK
gzip 1.4-1 OK
ipc-utils 1.0-1 OK
less 436-1 OK
libattr1 2.4.43-1 OK
libbz2_1 1.0.6-2 OK
libcurl4 7.20.1-1 OK
libdb4.5 4.5.20.2-2 OK
libedit0 20090923-1 OK
libexpat1 2.0.1-1 OK
libgcc1 4.3.4-4 OK
libgdbm4 1.8.3-20 OK
libgmp3 4.3.1-3 OK
libiconv2 1.13.1-2 OK
libidn11 1.18-1 OK
libintl8 0.17-11 OK
liblzma5 5.0.2_20110517-1 OK
libncurses10 5.7-18 OK
libncurses8 5.5-10 OK
libncursesw10 5.7-18 OK
libopenssl098 0.9.8r-2 OK
libpcre0 8.02-1 OK
libpopt0 1.6.4-4 OK
libreadline7 6.1.2-2 OK
libsigsegv2 2.10-1 OK
libssh2_1 1.2.5-1 OK
libssp0 4.3.4-4 OK
libstdc++6 4.3.4-4 OK
libwrap0 7.6-21 OK
login 1.10-10 OK
make 3.81-2 OK
man 1.6f-1 OK
openssh 5.8p1-1 OK
patch 2.5.8-9 OK
perl 5.10.1-5 OK
perl-Error 0.17016-1 OK
rebase 3.0.1-1 OK
rsync 3.0.8-1 OK
run 1.1.13-1 OK
sed 4.2.1-1 OK
tar 1.25-1 OK
tcltk 20080420-1 OK
terminfo 5.7_20091114-14 OK
terminfo0 5.5_20061104-12 OK
texinfo 4.13-3 OK
time 1.7-2 OK
tzcode 2010j-1 OK
unzip 6.0-10 OK
vim 7.3.003-1 OK
which 2.20-2 OK
xz 5.0.2_20110517-1 OK
zip 3.0-11 OK
zlib 1.2.5-1 OK
zlib-devel 1.2.5-1 OK
zlib0 1.2.5-1 OK
Use -h to see help about each section
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fork: retry: Resource temporarily unavailable
2011-06-15 11:15 fork: retry: Resource temporarily unavailable Kevin Layer
@ 2011-06-15 22:55 ` Ryan Johnson
2011-06-16 5:41 ` Christopher Faylor
0 siblings, 1 reply; 3+ messages in thread
From: Ryan Johnson @ 2011-06-15 22:55 UTC (permalink / raw)
To: cygwin
On 15/06/2011 2:14 PM, Kevin Layer wrote:
> When running make, which spawns shell scripts from time to time, I see
> this:
> ../../version.sh: fork: retry: Resource temporarily unavailable
>
The list archives are full of discussions about this (did you search
them?). The short version is that Windows vista/7 makes it "difficult"
for cygwin to fork() processes reliably.
> If I run again, it works fine.
You're in fairly good shape, then. Be glad.
Ryan
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: fork: retry: Resource temporarily unavailable
2011-06-15 22:55 ` Ryan Johnson
@ 2011-06-16 5:41 ` Christopher Faylor
0 siblings, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2011-06-16 5:41 UTC (permalink / raw)
To: cygwin
On Thu, Jun 16, 2011 at 01:55:25AM +0300, Ryan Johnson wrote:
>On 15/06/2011 2:14 PM, Kevin Layer wrote:
>> When running make, which spawns shell scripts from time to time, I see
>> this:
>> ../../version.sh: fork: retry: Resource temporarily unavailable
>>
>The list archives are full of discussions about this (did you search
>them?). The short version is that Windows vista/7 makes it "difficult"
>for cygwin to fork() processes reliably.
>
>> If I run again, it works fine.
>You're in fairly good shape, then. Be glad.
Since you did a fair amount of work on this and the work is in recent
snapshots, don't you kinda think it would make sense to suggest that
someone with this kind of problem should try a snapshot?
http://cygwin.com/snapshots/
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-16 5:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15 11:15 fork: retry: Resource temporarily unavailable Kevin Layer
2011-06-15 22:55 ` Ryan Johnson
2011-06-16 5:41 ` Christopher Faylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).