Results 1 to 4 of 4

Thread: increasing server load because mysqld using high CPU and Memory resources

  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    236

    Default increasing server load because mysqld using high CPU and Memory resources

    lately My server load went high around 5 - 15 constantly. when i type top command i see mysqld using high CPU and memory load. from 'ps aux' command I only see 1 mysql server is running while before cpanel upgrade i see 5 mysqld is running. does this happen on your servers too?



    i see on /tmp there is alot of temporary file like:

    #sql_1142_11.MYD
    #sql_1142_11.MYI
    #sql_1142_12.MYD
    #sql_1142_12.MYI

    what is it?

    I also see alot of user name like a, b, c, d, ... while that username actually doesn't exist is this normal? as i already see it when i received the server from dedicated server provider



    on "Show Current Running Processes" page i see alot of PID that doesn't have any explanation, it's just white blanks.



    CPanel version:
    WHM 10.8.0 cPanel 10.8.2-C467
    CentOS 4.3 i686 - WHM X v3.1.0

    MySQL version:
    mysql (4.1.21-standard)

    i already run chkrootkit on my server and once there is a sniffer log file but i already delete it and chkrootkit doesn't report any sniffer anymore.

  2. #2
    Member
    Join Date
    Jun 2006
    Posts
    92

    Smile Mysql Load

    Hi

    Following command will show how many current open connections there are to mysql
    mysqladmin processlist |wc -l

    Following command will display IP address and number of connections from that IP:
    netstat -plan|grep :<mysqlport>|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -n

    If you are getting lots of connections from specific IP then temporary block that IP address from iptables/apf.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by markhard
    lately My server load went high around 5 - 15 constantly. when i type top command i see mysqld using high CPU and memory load. from 'ps aux' command I only see 1 mysql server is running while before cpanel upgrade i see 5 mysqld is running. does this happen on your servers too?
    Check this out: http://forums.cpanel.net/showthread.php?t=56614
    Andy Reed
    CCNA, RHCE, and Ubuntu Technologist
    ServerTune.com

  4. #4
    Member
    Join Date
    Apr 2004
    Posts
    236

    Default

    thanks for your replies

    any comment for the strange user names and blank processes?

Similar Threads

  1. Apache eating a lot of memory and high Cpu load
    By parsmatix in forum New User Questions
    Replies: 1
    Last Post: 05-26-2008, 07:55 PM
  2. High server load and high memory use?
    By Squeeze a Snack in forum New User Questions
    Replies: 1
    Last Post: 05-23-2005, 03:49 AM
  3. High CPU load / Memory used - In trouble
    By yufool in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 03-01-2005, 06:57 PM
  4. High Server Load and Memory...
    By .:RAIS:. in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 09-05-2004, 06:30 AM
  5. Server load ( but CPU and memory light usage )
    By danielaugustus in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 12-09-2003, 05:46 PM