Increasing Linux file descriptors

You should increase the number of file descriptors from the 1024 default.

Having a higher number of file descriptors ensures that the WebLogic Server can open sockets under high load and not abort requests coming in from clients.

Note: On Dgraph nodes, the recommended number of open file descriptors is 65536. For more information, see Increasing the numbers of open file descriptors and processes.

To increase the number of file descriptors on Linux:

  1. Edit the /etc/security/limits.conf file.
  2. Modify the nofile limit so that soft is 4096 and hard is 8192. Either edit existing lines or add these two lines to the file:
    *      soft      nofile      4096
    *      hard      nofile      8192
    The "*" character is a wildcard that identifies all users.