Can't fork a new process to execute "Resource temporarily unavailable"
Can't fork a new process to execute "Resource temporarily unavailable"
- Subject: Can't fork a new process to execute "Resource temporarily unavailable"
- From: Greg Hurrell <email@hidden>
- Date: Wed, 25 Jan 2006 13:24:51 +0100
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
8Attachment:
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