How to: Too many open files issue on Centos

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
 
Top Bottom