Activity Stream
48,167 MEMBERS
6724 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1.     
    #1
    Member

    Default MySQL Help!

    Hey

    I noticed that one of my servers MySQL is causing the CPU to spike for some reason. I thought of moving it to another server to even the load, but i kind of do not want to do that yet if i can fix the problem.

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    18253 mysql 20 0 43468 20m 4156 R 212.4 0.5 25:07.32 mysqld

    As you can see, mysql is using 212% CPU, it keeps spiking for some reason and i haven't been able to figure out why.

    If anyone could help me that would be great
    Sandino Reviewed by Sandino on . MySQL Help! Hey =) I noticed that one of my servers MySQL is causing the CPU to spike for some reason. I thought of moving it to another server to even the load, but i kind of do not want to do that yet if i can fix the problem. As you can see, mysql is using 212% CPU, it keeps spiking for some reason and i haven't been able to figure out why. If anyone could help me that would be great =) Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    warezbiz.com
    Optimize your databases, cache querys, etc etc...


  4.     
    #3
    Member
    mysql 5 already comes with caching enabled by default

  5.     
    #4
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    It'll be some horribly coded script like wordpress.

    Really nice to look at but a pile of crap behind it.

    Look for any badly coded scripts, apply caching to them (not the query cache, i mean code caching into it, using memory or files) or scrap 'em.

    Could mess around with my.cnf too. Stuff related to "_limit", e.g. query_cache_limit and such.
    Projects:
    WCDDL - The Professional DDL Script
    Top Secret Project: In Development - ZOMG
    ImgTrack - Never Have Dead Images Again!

  6.     
    #5
    Member
    yah i had a user who had wordpress and a bunch of plugins for some reason made the server load go to like 50
    if i suspended him it went down. So he took em out.

  7.     
    #6
    Member
    if any1 else can help that would b great lol.

  8.     
    #7
    Member
    Maybe you should hire someone to optimize your mysql for you...
    Would help a lot and decrease a lot on your useage if it is done properly.
    It's amazing, being in a community can cause hate. Competitors or not - DDOS isn't cool :)

  9.     
    #8
    Member
    That should have been done already, guess the person who i asked to do it didnt do it properly!!
    who can do it? And i really don't feel like "hiring" anyone. I would do it myself if i knew the problem lol

  10.     
    #9
    Member
    Hmm who dont it ?
    It's amazing, being in a community can cause hate. Competitors or not - DDOS isn't cool :)

  11.     
    #10
    Member
    Code: 
    mysql> SHOW FULL PROCESSLIST
    Whenever it spikes, so you can find the heavy query and maybe do something about it.
    Trusted buyers: warezfreak09, sysrocker, aishamontreal

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MYSQL Error while Import via MYSQL Dumper (Error
    By desibreaker in forum Server Management
    Replies: 10
    Last Post: 5th Aug 2011, 07:26 PM
  2. Need Help with Mysql (DLE)
    By janu123 in forum Webmaster Discussion
    Replies: 1
    Last Post: 26th Jul 2011, 04:29 PM
  3. MySQL help
    By kos in forum vBulletin
    Replies: 4
    Last Post: 29th Jun 2011, 12:30 PM
  4. DLE MySQL help
    By John in forum Webmaster Discussion
    Replies: 4
    Last Post: 17th May 2011, 06:51 PM
  5. Mysql help
    By Xman in forum Server Management
    Replies: 5
    Last Post: 28th Sep 2009, 11:56 AM

Tags for this Thread

BE SOCIAL