[Linux] Too many open files first step to solve the problem [Record]

Record solve what appears on the linux: Too many open files of the first step.

Make a record, so every time a thorough investigation.

 

1. View

ulimit -a

 

 

2. Modify

we /etc/security/limits.conf

 

Files added at the end:

* Soft nofile 65525 
* hard nofile 65535

 

As shown below:

 

 

 

3. After modifications are complete, restart the server

reboot

 

 

4. After reconnecting servers for specific services start, make a specific corresponding modification.

 

=========== make a recording, quick access ================

 

Guess you like

Origin www.cnblogs.com/sxdcgaq8080/p/11118701.html