Getting "-bash: fork: Resource temporarily unavailable" in OSX
Posted
by
Joseph Tura
on Super User
See other posts from Super User
or by Joseph Tura
Published on 2011-04-29T07:54:36Z
Indexed on
2012/03/21
17:31 UTC
Read the original article
Hit count: 443
I seem to run into problems with the max. number of processes every so often. Anyone know what is best practice for fixing this?
Running OSX 10.6 on a MacBook Pro i7.
ulimit -a returns these values:
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 266
virtual memory (kbytes, -v) unlimited
When the error occurred I checked, and there were 102 running tasks and 523 threads.
© Super User or respective owner