Solved

MySQL 5 CPU very high Usage

Posted on 2007-11-16
3
478 Views
Last Modified: 2013-12-13
Hello experts,

i am on a DDS windows 2003 enterprise server (IIS6) , SP2, with my PHP e-commerce apps running on MySQL 5 & PHP 4.3.11
Alle of the sudden, MySQL uses 100% of my CPU and the server stopped responding, so I had to disable MySQL service until i find the cause.
Any idea what i should looking for?
Database tables are optimized and queries running now hold to a minimum
0
Comment
Question by:sh2gr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 21

Accepted Solution

by:
nizsmo earned 250 total points
ID: 20298172
There are a lot of possible solutions for your problem:
http://www.google.co.nz/search?hl=en&q=mysql+100%25+cpu&btnG=Google+Search&meta=
0
 
LVL 1

Assisted Solution

by:Deathbob
Deathbob earned 250 total points
ID: 20299932
Try running "SHOW FULL PROCESSLIST" while it is at 100% and posting what it returns. May be some rouge connections that arn't closing.
0
 

Author Comment

by:sh2gr
ID: 20311680
Well, as i had no time to investigate further, i downgraded to the previous mysql version and all work fine now.
I will consider your recommendation for the next time the same issue will ahppen (hope not)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question