kimcool
V2EX  ›  站长

Linode 的CPU老是超400%,请教各位大神。

  •  
  •   kimcool · Dec 5, 2011 · 4602 views
    This topic created in 5467 days ago, the information mentioned may be changed or developed.
    在linode上面的一个512的vps,最近一个星期CPU老是超400%,而且每天都是这样。

    经过我的测试,不是网站的问题,也不是网站程序的问题。

    系统是centos lnmp.

    我该怎么办?
    8 replies  •  1970-01-01 08:00:00 +08:00
    Ricepig
    Ricepig
    Dec 5, 2011
    1
    看看哪个进程占cpu哇
    kimcool
    kimcool
    OP
    Dec 5, 2011
    2
    就是PHP撒。
    Platinum
    Platinum
    Dec 5, 2011
    3
    真奇怪,我碰到的都是磁盘 io 抗不住了

    还有你是怎么得出不是网站和网站程序(这两者有什么区别么)的问题的
    kimcool
    kimcool
    OP
    Dec 5, 2011
    4
    @Platinum 我一个一个把网站撤了,结果还是超。
    Ricepig
    Ricepig
    Dec 5, 2011
    5
    把你加载的七七八八的模块卸载了试试看?
    kimcool
    kimcool
    OP
    Dec 5, 2011
    6
    @Ricepig 压根儿没其他模块了。。就一lnmp一件安装包。。。
    Ricepig
    Ricepig
    Dec 5, 2011
    7
    @kimcool 我的意思是你看看php配置,把一些没用的extension关掉
    CoX
    CoX
    Dec 5, 2011
    8
    top -H 看看哪个一直占CPU啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2034 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 68ms · UTC 15:27 · PVG 23:27 · LAX 07:27 · JFK 10:27
    ♥ Do have faith in what you're doing.