Set the number of TCP connections
Set the number of open files
View the number of open files
ulimit -a
Modify the file here
vi /etc/security/limits.conf
Modify the value of Soft nofile and Hard nofile
After the modification is complete, restart, enter ulimit -a again to view the various limits of the directory
The unsuccessful modification may be that there is no modification permission to this file, or the firewall is open