Mysqld.exe occupies the server cpu100 %,

Source: Internet
Author: User
The CPU usage of mysqld.exe server is. sorry !!! The cpu usage of the Slave node is soaring. if the website is closed, the cpu usage is basically less than 10%. & nbsp; the cpu usage of mysqld.exe on mysql is !!!
The server is iis + php528 + mysql5.6.13 and runs two websites, one of which is the source code of ecshop. the smoothness of cpu usage is soaring. if the website is closed, the cpu usage is basically less than 10%, in mysql's show processlists, we found that there were almost 30-50 threads in progress, but no one was visiting this website. this is strange. no one was visiting this website. why are you still connecting to the database? This problem has been plagued for too long. please kindly advise. thank you!





------ Solution --------------------
A large number of sorting and other unreasonable queries lead to table locks.
First look at the slow query log?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.