1) Use the command ulimit -a view the file descriptor limit, you can see the open files limit 1024, it is the file descriptor
2) modify the configuration file by file descriptor limit
Sudo vim ect/security/limits.conf
Add the following two lines of code to the end, cancellation account for restart
- soft nofile 8000 (this can be modified by ulimit -n)
- Hard nofile 8000
3) Use ulimit -n upper open files can be modified