我在Mac mini上的macOS 10.12.3上使用终端时遇到了问题
当我尝试运行任何命令时,我收到以下消息:
can't fork process: Resource temporarily unavailable.
Run Code Online (Sandbox Code Playgroud)
我已经遇到过这样的问题.上次我能够修复它 - 增加进程数,我的系统看起来像:
sysctl -a | grep maxproc
kern.maxproc: 2048
kern.maxprocperuid: 2048
ulimit -a
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) 65536
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 2048
virtual memory …Run Code Online (Sandbox Code Playgroud)