Solved

MySQL 5 CPU very high Usage

Posted on 2007-11-16
3
482 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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

737 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