We have heavy-loaded site, and before application server is pound :) It
has been working good few years, but now we have much more
traffic(req/s), and we get often 'pound: HTTP accept: Too many open
files' in the log and 503 to client.
It isn't problem with ulimit because we set high ulimit for nofile, and
we start pound like this:
/usr/sbin/softlimit -o 16384 /usr/bin/pound -f /etc/pound/pound.cfg
There is also high kernel limit for threads
> cat /proc/sys/kernel/threads-max
We can only achieve 512 pound threads, and lsof shows 1053 open
files(pound uses 29 files for itself).
So the limit is 1024, but I don't know where.