To increase the maximum number of file descriptors to at least 65536, you need to modify the system configuration. Here are the steps to do it:

  1. Open the file /etc/security/limits.conf using a text editor with root privileges.

  2. Add the following lines at the end of the file:

    * soft nofile 65536
    * hard nofile 65536
    

    These lines set the soft and hard limits for the maximum number of open file descriptors to 65536 for all users.

  3. Save the file and exit the text editor.

  4. Open the file /etc/sysctl.conf using a text editor with root privileges.

  5. Add the following line at the end of the file:

    fs.file-max = 65536
    

    This line sets the maximum number of file handles that the kernel can allocate.

  6. Save the file and exit the text editor.

  7. Run the following command to apply the changes:

    sudo sysctl -p
    

    This command reloads the sysctl settings from the configuration file.

  8. Finally, reboot your system for the changes to take effect.

After rebooting, the maximum number of file descriptors will be increased to 65536, which should be sufficient for Dremio to operate without any issues.

#######################################################################WARNINGPlease increase the maximum number of file descriptors to at least 65536Dremio utilizes a large number of file descriptors

原文地址: https://www.cveoy.top/t/topic/i4zz 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录