• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
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"


  • 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
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

  • Follow-Ups:
    • Re: Can't fork a new process to execute "Resource temporarily unavailable"
      • From: "Justin C. Walker" <email@hidden>
  • Prev by Date: Copying an Xcode project
  • Next by Date: Re: Resources and dependencies
  • Previous by thread: Re: Copying an Xcode project
  • Next by thread: Re: Can't fork a new process to execute "Resource temporarily unavailable"
  • Index(es):
    • Date
    • Thread