1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to: Too many open files issue on Centos

Discussion in 'Enhanced Search Support' started by AndyB, Nov 26, 2013.

  1. AndyB

    AndyB Well-Known Member

    How to increase the open files variable on Centos.

    1) Edit /etc/sysctl.conf and add "fs.file-max = 655036"

    2) Run "sysctl -p" at the command line

    3) Run "ulimit -n 100000" to increase the limit

    To verify values have changed, run at the command line

    ulimit -Hn
    100000 <- should return this value

    ulimit -Sn
    100000 <- should return this value
  2. Slavik

    Slavik XenForo Moderator Staff Member

Share This Page