MySQL operating system configuration optimization (TCP connection number / file open limit)

 

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

Published 568 original articles · Like 180 · Visits 180,000+

Guess you like

Origin blog.csdn.net/Delicious_Life/article/details/105614999