Why output of ulimit and /proc/<pid>/limits of the same user does not match?

Solution In Progress - Updated -


  • Why the output of the ulimit -Hn does not match with max open file entry?
  • Why the value of max open files does not match between /etc/security/limits.conf and /proc/<pid>/limits?


  • Red Hat Enterprise Linux 7.9
  • systemd-219-78.el7_9.3.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content