Home > OS >  Suse mysql on the number of connections and handle problems
Suse mysql on the number of connections and handle problems

Time:10-24

Company suse server environment, software often hang up,
Musql and company software occupies most
Ps auxxxw CPU without exception
Memory is a little high, but the echo x release under the cache manually, you can resume normal
Slabinfo not observed anomalies such as
After the shutdown -r now
The server for a period of time began to failure
Pstree view using a thread again, no abnormal
File - nr files in the range of 100 w
Check the lsof | wc -l, file number is overmuch,
The full path according to lsof pid query procedures
Look at other bean number, according to the order
Ps - aux | grep see
The pmap again see depend on the
Feel the handle and mysql connection may have problems
According to the pid to find, lsof - n
Look at the specific number of open file
The lsof - l/proc/pid/fd | wc -l
Found that more than the limit system
Finally modify system files, and limit the company software service, problem solving,
  • Related