Skip to main content

High CPU Usage

Comments

7 comments

  • SysSachin
    Hi, You can check the MySQL process using below command so that you will get idea which database causing the high load. [root ~ ]# mysqladmin proc
    0
  • syslint
    The given log doesn't show much information. can you give the following, 1) Are you on a VPS, if so what technology 2) Can you give your server hardware specifications ? 3) What is the disk I/o ?
    0
  • cPanelMichael
    Hello :) The following thread is a good place to start: Troubleshooting high server loads on Linux servers Thank you.
    0
  • vinzleon
    The given log doesn't show much information. can you give the following, 1) Are you on a VPS, if so what technology 2) Can you give your server hardware specifications ? 3) What is the disk I/o ?

    Hy sislint, my server not on aVPS this my server informastion
    Server Information Processor Information Total processors: 4 Processor #1 Vendor GenuineIntel Name Intel(R) Xeon(R) CPU X3430 @ 2.40GHz Speed 2399.712 MHz Cache 8192 KB Processor #2 Vendor GenuineIntel Name Intel(R) Xeon(R) CPU X3430 @ 2.40GHz Speed 2399.712 MHz Cache 8192 KB Processor #3 Vendor GenuineIntel Name Intel(R) Xeon(R) CPU X3430 @ 2.40GHz Speed 2399.712 MHz Cache 8192 KB Processor #4 Vendor GenuineIntel Name Intel(R) Xeon(R) CPU X3430 @ 2.40GHz Speed 2399.712 MHz Cache 8192 KB Memory Information Memory: 3967736k/5767168k available (4368k kernel code, 186488k reserved, 2440k data, 508k init, 3248784k highmem) Physical Disks sd 1:0:1:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465 GiB) sd 1:0:1:0: [sdc] 4096-byte physical blocks sd 1:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) sd 1:0:0:0: [sdb] 4096-byte physical blocks sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB) sd 0:0:0:0: [sda] 4096-byte physical blocks sd 1:0:0:0: [sdb] Write Protect is off sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 1:0:1:0: [sdc] Write Protect is off sd 1:0:1:0: [sdc] Mode Sense: 00 3a 00 00 sd 1:0:1:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 1:0:1:0: [sdc] Attached SCSI disk sd 1:0:0:0: [sdb] Attached SCSI disk sd 0:0:0:0: [sda] Attached SCSI disk sd 0:0:0:0: Attached scsi generic sg0 type 0 sd 1:0:0:0: Attached scsi generic sg1 type 0 sd 1:0:1:0: Attached scsi generic sg2 type 0 Current Memory Usage total used free shared buffers cached Mem: 3981284 3392284 589000 72 258164 2126872 -/+ buffers/cache: 1007248 2974036 Swap: 8191992 155448 8036544 Total: 12173276 3547732 8625544 Current Disk Usage Filesystem Size Used Avail Use% Mounted on /dev/sda5 20G 5.3G 14G 29% / tmpfs 1.9G 0 1.9G 0% /dev/shm /dev/sda1 194M 41M 144M 22% /boot /dev/sda8 745G 183G 525G 26% /home /dev/sda7 985M 502M 433M 54% /tmp /dev/sda3 49G 12G 35G 26% /usr /dev/sda2 97G 13G 79G 15% /var /dev/sdb1 917G 755G 116G 87% /backup /dev/sdc1 459G 235G 201G 54% /backup2
    0
  • syslint
    Vinzleon, Looks like hardware configuration is normal. Now you need to do check the following , 1) Mysql usage during the load time 2) apache usage during the load time 3) Disk I/o during the load time 4) Check if any backup is running on that time
    0
  • vinzleon
    Vinzleon, Looks like hardware configuration is normal. Now you need to do check the following , 1) Mysql usage during the load time 2) apache usage during the load time 3) Disk I/o during the load time 4) Check if any backup is running on that time

    Can you tell me how I can check them all ? I need the instructions.
    0
  • cPanelMichael
    I need the instructions.

    You can review the URL that I posted in my earlier response for information on how to obtain those values. Thank you.
    0

Please sign in to leave a comment.