1

I'm working on a reasonably large project, and recently had to bump the nofile setting above 500,000. I tried to change it to five million in /etc/security/limits.d/99-users-nofile.conf, but afterwards I was no longer allowed to log in. After seeing other people having the same issue I ended up booting from an alternative medium and changing the value back, but I'm none the wiser about what the actual maximum nofile value is.

  • 1
    See if this helps: linuxvox.com/post/… – kevlinux Oct 24 '18 at 4:51
  • @kevlinux As far as I can tell nofile is not related to file-max or file-nr in any way. If that's wrong can you please clarify what you mean? – l0b0 Oct 24 '18 at 7:38
  • What distro/version are you using? Sorry, I'm not familiar with the config file. The referenced link discusses the actual limitations and reasoning, which is what I was addressing. – kevlinux Oct 25 '18 at 3:18
  • Arch Linux. As far as I can tell the linked article discusses some other limitations, hence my comment. – l0b0 Oct 25 '18 at 3:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.