Solved

MySQL 5 CPU very high Usage

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
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 …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

815 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now