×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

UNIX - high cpu usage!

本文发表在 rolia.net 枫下论坛系统运行一段时间,一天,或几天,,突然CPU LOAD CLOSE TO 100%. 大家能帮忙看看问题在哪吗?多谢了

load averages: 13.26, 13.13, 13.30 9 processes: 27 sleeping, 2 on cpu
CPU states: 0.0% idle, 98.7% user, 1.3% kernel, 0.0% iowait, 0.0% swap
Memory: 7168M real, 3536M free, 2503M swap in use, 10G swap free

PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
24313 xxxxxx 169 51 0 2439M 2257M cpu/1 656:21 95.91% ns-httpd
........


$ vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 -- -- in sy cs us sy id
0 0 0 10343144 4255160 35 143 29 1 1 0 0 0 0 0 0 692 1904 938 10 3 88


$ mpstat
CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
0 72 0 101 311 289 451 32 43 11 0 915 9 4 0 87
1 71 0 92 381 251 487 35 43 12 0 989 10 2 0 89更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / 学科技术讨论 / UNIX - high cpu usage!
    本文发表在 rolia.net 枫下论坛系统运行一段时间,一天,或几天,,突然CPU LOAD CLOSE TO 100%. 大家能帮忙看看问题在哪吗?多谢了

    load averages: 13.26, 13.13, 13.30 9 processes: 27 sleeping, 2 on cpu
    CPU states: 0.0% idle, 98.7% user, 1.3% kernel, 0.0% iowait, 0.0% swap
    Memory: 7168M real, 3536M free, 2503M swap in use, 10G swap free

    PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
    24313 xxxxxx 169 51 0 2439M 2257M cpu/1 656:21 95.91% ns-httpd
    ........


    $ vmstat
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 s1 -- -- in sy cs us sy id
    0 0 0 10343144 4255160 35 143 29 1 1 0 0 0 0 0 0 692 1904 938 10 3 88


    $ mpstat
    CPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl
    0 72 0 101 311 289 451 32 43 11 0 915 9 4 0 87
    1 71 0 92 381 251 487 35 43 12 0 989 10 2 0 89更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • Find out which process using most of the CPU and then dealing with it, kill/restart, etc
    • 很正常。