How to change file limit in Fedora Linux

Add a file in /etc/security/limits.d/, say nofile.conf

*    soft    nofile    1024
*    hard    nofile    65535

Edit /etc/pam.d/login, adding the line:

session required pam_limits.so

we can change the open limit by:

unlimt -n 10000
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Share/Bookmark

Leave a Reply