Solved

MySQL 5 CPU very high Usage

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
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.

760 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

17 Experts available now in Live!

Get 1:1 Help Now