RE: Can't fork a new process to execute "Resource temporarilyunavailable"
RE: Can't fork a new process to execute "Resource temporarilyunavailable"
- Subject: RE: Can't fork a new process to execute "Resource temporarilyunavailable"
- From: "Alex Sheh" <email@hidden>
- Date: Wed, 25 Jan 2006 08:34:34 -0800
- Thread-topic: Can't fork a new process to execute "Resource temporarilyunavailable"
Greg,
I'm not sure if you're encountering the same problem I was, but if you
run PackageMaker under Panther as part of your build process, it will
leave DiskManagementTool processes around (this is fixed in Tiger).
These processes were causing my build to give the same error you listed,
and a periodic killall would fix the problem. In general you might want
to look for any runaway processes hogging up resources. HTH.
- Alex
-----Original Message-----
From: xcode-users-bounces+asheh=email@hidden
[mailto:xcode-users-bounces+asheh=email@hidden] On
Behalf Of Greg Hurrell
Sent: Wednesday, January 25, 2006 4:25 AM
To: XCode Users
Subject: Can't fork a new process to execute "Resource
temporarilyunavailable"
Been getting quite a few build failures lately with messages like this:
as: can't fork a new process to execute: /usr/libexec/gcc/darwin/ppc/ as
(Resource temporarily unavailable)
I'm not particularly worried about it as it seems to be transitory. A
reboot will most likely cure it. The "kern.maxprocperuid" sysctl setting
of 100 seems to be the most likely culprit. Does that seem fairly low to
anyone else?
$ uname -a
Darwin toledo.local 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan 3
18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Power Macintosh
powerpc $ sysctl kern.maxproc kern.maxproc = 532 $ sysctl
kern.maxprocperuid kern.maxprocperuid = 100 $ ps aux | wc -l
150
$ ps aux | awk ' { print $1 } ' | grep `whoami` | wc -l
80
$ sysctl -a | grep files
kern.maxfiles = 12288
kern.maxfilesperproc = 10240
$ lsof
lsof: can't read process table
$ lsof | wc -l
70
$ lsof | wc -l
8
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden