Wednesday, September 26, 2007

File Descriptors vs Linux Performance

To increase OS system-wide file descriptors limit

http://bloggerdigest.blogspot.com/2006/10/file-descriptors-vs-linux-performance.html

  1. Set both the hard limit and soft limit of file descriptors, to as maximum as possible, to either all (the asterisk in first column) or individual user login account (replace the asterisk in the first column to the user login account)

    • Modify /etc/security/limits.conf by appending or amending these line

    • @root soft nofile 1024
      @root hard nofile 4096
      to
      @root soft nofile 100000
      @root hard nofile 102400

      Refer to the topic of Linux ulimit command

No comments: