Setting the Maximum Number of Handles to 65535.

[root@platservice6~]# ulimit -n

1024

Run the vim command to edit the /etc/systemd/system.conf file as follows:

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.