Report this

What is the reason for this report?

max open files

Posted on 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?



This textbox defaults to using Markdown to format your 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).

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.