I am working on a school project where I had to write a multi-threaded server, and now I am comparing it to apache by running some tests against it. I am using autobench to
On MacOS, show the limits:
launchctl limit maxfiles
Result like: maxfiles 256 1000
maxfiles 256 1000
If the numbers (soft limit & hard limit) are too low, you have to set upper:
sudo launchctl limit maxfiles 65536 200000