V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
kimcool
V2EX  ›  站长

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

  •  
  •   kimcool · Dec 5, 2011 · 4257 views
    This topic created in 5262 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
        1
    Ricepig  
       Dec 5, 2011
    看看哪个进程占cpu哇
    kimcool
        2
    kimcool  
    OP
       Dec 5, 2011
    就是PHP撒。
    Platinum
        3
    Platinum  
       Dec 5, 2011
    真奇怪,我碰到的都是磁盘 io 抗不住了

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