Mysqld.exe occupies server cpu100% problem,

Source: Internet
Author: User
Server is iis+php528+mysql5.6.13, running two sites, one of which is the source of ecshop, fluency naturally no problem, the problem is another site, as long as an open IIS services, Mysqld.exe CPU immediately soar, if you close the site, CPU usage is basically within 10%, in the MySQL show processlists found that there are almost 30-50 threads in progress, but this site no one access, this is very strange, no one to access, how still connected to the database you? This problem is troubled in the next too long, please master advice, thank you!





Reply to discussion (solution)

A large number of sorting and other unreasonable queries led to the table lock.
First look at the log of slow query?

A large number of sorting and other unreasonable queries led to the table lock.
First look at the log of slow query?


Please elaborate, how to analyze and solve, thank you!
  • 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.