Question

max open files

  • Posted October 18, 2013

Does anyone know if /proc/sys/fs/file-max is actually the maximum open files we can have? On OpenVZ there’s another limit at /proc/user_beancounters that usually sets it at 5500 or so for a VPS. I get 49790 from file-max, anyone know if this is the actual max # of open file descriptors allowed?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Great! Another nice thing about not being on OpenVZ. <br> <br>Currently have a lot of VPS’s at WiredTree but running into limits on max open files because of OpenVZ so looking for options. <br> <br>thanks

It should be /proc/sys/fs/file-max as we do not set any limits for the maximum open files (it’s set by the kernel).