Problem scenario
You run a ulimit -Hn command. You see the limit of the file descriptors to be what you expect. But in the logs of an application, there is a discrepancy. Why is one log reporting that the limit to file descriptors is different from the output of a “ulimit -Hn” or “ulimit -Sn” command?
Solution
Root cause
The ulimit -Hn and ulimit -Sn commands do not show the whole story.
…