As Louis Herbargh has already pointed out, your question has nothing to do with threads. I edited your title and tags accordingly.
I have a huge number of shell commands executed with root / admin privileges through an Authorization Services call "AuthorizationExecuteWithPrivileges".
. , root: admin owner setuid , root.
, , root , root, , , ( setuid), , , ( setuid).
.
, (10-15 , , 100 ) :
couldn't fork: errno 35
. . , .
, , , , . . limit limit -h ( zsh; ).
, .
, , .
, . - , .
, , , , .
, .
errno . EAGAIN (35, " " ) , , , .
, fork, , . EAGAIN " , ". . fork.
Activity Monitor, 4-5 .
?
, , ( ).
.
...
, , , , , .