Updated on 2026-01-31 GMT+08:00

Setting the Maximum Number of Handles to 65535.

  • Generally, the default upper limit of handles on a Linux server is 1024. To check it, run the following command:

    ulimit -n

    1024
  • For iMetal servers, you need to change the value to 65535.

    Use the vi editor to open the /etc/systemd/system.conf file and set the following parameters:

    DefaultLimitNOFILE=65535
    DefaultLimitNPROC=65535

After the preceding operations are complete, you need to restart the VM. Otherwise, the number of handles does not take effect. After the restart, log in to the VM and check the maximum number of handles again.