Linux Increase The Maximum Number Of Open Files / File Descriptors (FD)

By default, the maximum number of open fd descriptors is pretty low.
Please see this article on how to increase it.

http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

As reported in this bug report (http://bug.flexraid.com/view.php?id=195), changing the user level limit seems to have the most effect.
As per the comments in that report, the user had to add the following to /etc/security/limits.conf (root being the user in this case):
root soft nofile 4096
root hard nofile 10240

Be Sociable, Share!

Revisions

One Response to “Linux Increase The Maximum Number Of Open Files / File Descriptors (FD)”

  1. Jens May 5, 2013 at 8:17 AM #

    If you are running FlexRAID with su’ing to a specific user and you find the limits set in “/etc/security/limits.conf” don’t get respected, make sure you the following entry in “/etc/pam.d/su” is umcommented:

    “session required pam_limits.so”

Leave a Reply

thirteen − six =