There is not any ulimit configuration in system startup files/ shell startup scripts.
ulimit -a
shows:
-u: processes 1064
-n: file descriptors 256
launchctl limit
shows:
maxproc 2048 2048
maxfiles 2048 2048
I vaguely remember that launchctl's limits should match with a shell's ulimit output, I might be wrong.
Is there any relationship between the lauchctl's limits and ulimit?