How do I increase the number of file descriptors in Linux?

How do I increase the number of file descriptors in Linux?
Answer
To increase the file descriptor limit:
  1. Log in as root. …
  2. Change to the /etc/security directory.
  3. Locate the limits. …
  4. On the first line, set ulimit to a number larger than 1024, the default on most Linux computers. …
  5. On the second line, type eval exec “$4” .
  6. Save and close the shell script.
 

Tìm kiếm

Back
Top