Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7867639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:45:32+00:00 2026-06-03T00:45:32+00:00

My site has just recently run into some issues with High CPU usage from

  • 0

My site has just recently run into some issues with High CPU usage from MYSQL. When I check the Parallels Power Panel, it says that this: “/usr/sbin/mysqld –basedir=/ –datadir=/var/lib/mysql –user=mysql –pid-file=/var/lib/mysql/exa.example.com.pid –skip-external-locking” is using a high % of the CPU and the site becomes real slow.

I have checked every MySQL query on the entire site and there is nothing that should cause a long term problem like this. When I disable the routing file on the site, the load goes way down (almost 0%). As soon as it is turned back on, up to 100%. I came into work today to find that the server was down because of this.

The db has no more than 200,000 total records split up into 10 tables. I am starting to think that maybe the process(es) aren’t finishing (hanging) or something else is wrong. You can load a page or two before the site comes to a stop.

What kind of ideas should I consider? I am somewhat of a newbie at configuring php and mysql so I haven’t experimented with that too much yet.

UPDATE:

I’ve added this to the mysql config file:

log-slow-queries = log-slow-queries.log

long_query_time = 5

log-queries-not-using-indexes

Does that look okay? Of course, once I added that, the site seems to load a little better and the log file hasn’t had anything written to it yet…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:45:33+00:00Added an answer on June 3, 2026 at 12:45 am

    Consider enabling and then examining the slow query log, to help you find problematic queries.

    Also you say that you “checked every MySQL query” – how? Did you run EXPLAIN plans for all of them? Sometimes queries can behave in ways that you don’t expect.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just finished moving a Wordpress site to a new server. The domain has
I have recently gone into extending my site using node.js and have come to
I recently came upon a site that has done exactly what I want as
We have a client who has just recently acquired their first SharePoint 2010 system.
I've got an .net 2.0 web forms site that has just been upgraded to
Recently our site has been deluged with the resurgence of the Asprox botnet SQL
My site has a drop-down menu built in CSS and JavaScript that drops down
My site has quite a deep navigation structure and quite often it looks like
Our site has multiple wizards where various data is collected over several pages, and
My site has an input box, which has a onkeydown event that merely alerts

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.