I'm getting the error "too many open files". It appears to happen when by process has around 256 simultaneous connections. If I do
sysctl -A | grep maxfiles
kern.maxfiles = 12288 kern.maxfilesperproc = 10240
My server is managed by launchd. Do I also need to set the NumberOfFiles option in the plist file?