Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Can't fork a new process to execute "Resource temporarily unavailable"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't fork a new process to execute "Resource temporarily unavailable"



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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.