Increasing file descriptor limit on Debian does not work! Help!

Posted by Aco on Server Fault See other posts from Server Fault or by Aco
Published on 2011-07-27T00:36:57Z Indexed on 2012/07/08 3:17 UTC
Read the original article Hit count: 484

I am running Debian 6 and I am trying to increase the file descriptor limit but it does not want to work. This is what I have done:

I edited /etc/sysctl.conf by adding fs.file-max = 64000 at the end and applied the changes using sysctl -p.

I then edited /etc/security/limits.conf and added the following lines: * soft nofile 64000 and * hard nofile 64000.

Now when I execute ulimit -Hn and ulimit -Sn I still see 1024. I rebooted the server and I still get the same result. What have I failed to do?

© Server Fault or respective owner

Related posts about linux

Related posts about debian