3 ms·
Back in the earlier days of web hosting we'd run into this with Apache. In fact, I have a note from 2014 (much later than the early days actually): ulimit -n
by geocrasher 1y ago
Back in the earlier days of web hosting we'd run into this with Apache. In fact, I have a note from 2014 (much later than the early days actually):
ulimit -n 10000
to set permanently:
/etc/security/limits.conf
\* - nofile 10000
- bombcar 1y agoI seem to remember this was a big point of contention when threaded Apache (vs just forking a billion processes) appeared - that if you went from 20 processes to 4 processes of 5 threads each you could hit the ulimit. But ... that's a bad memory from long ago and far away.
- geocrasher 1y agoIf you're old enough to remember those days, then you're also old enough to start forgetting them. I speak for myself of course :)