Re: Can't fork a new process to execute "Resource temporarily unavailable"
Re: Can't fork a new process to execute "Resource temporarily unavailable"
- Subject: Re: Can't fork a new process to execute "Resource temporarily unavailable"
- From: Chris Espinosa <email@hidden>
- Date: Wed, 25 Jan 2006 09:12:27 -0800
On Jan 25, 2006, at 9:02 AM, Justin C. Walker wrote:
On Jan 25, 2006, at 04:24 , Greg Hurrell wrote:
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?
I've seen this a couple of times, with the same kinds of symptoms...it is worth filing a bug report, I think.
AFAICT it has nothing to do with Xcode; I have seen it when Xcode has not been run since reboot, for example.
I am also running 10.4, and this behavior is new since updating.
This message means that the kernel's per-user process limit has been reached. You might be encountering this by running a large number of apps, Dashboard widgets, startup tasks, Personal Web Sharing with a lot of CGIs, etc. The default limit is 100 simultaneous processes per user.
There's no straightforward way to raise the per-user process limit through the Mac OS UI, but it's a simple procedure that's well documented on the technical blogs, for exaample:
Chris |
_______________________________________________
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