V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kimcool
V2EX  ›  站长

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

  •  
  •   kimcool · 2011-12-05 15:44:11 +08:00 · 3617 次点击
    这是一个创建于 4538 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在linode上面的一个512的vps,最近一个星期CPU老是超400%,而且每天都是这样。

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

    系统是centos lnmp.

    我该怎么办?
    8 条回复    1970-01-01 08:00:00 +08:00
    Ricepig
        1
    Ricepig  
       2011-12-05 15:46:37 +08:00
    看看哪个进程占cpu哇
    kimcool
        2
    kimcool  
    OP
       2011-12-05 15:52:09 +08:00
    就是PHP撒。
    Platinum
        3
    Platinum  
       2011-12-05 15:52:35 +08:00
    真奇怪,我碰到的都是磁盘 io 抗不住了

    还有你是怎么得出不是网站和网站程序(这两者有什么区别么)的问题的
    kimcool
        4
    kimcool  
    OP
       2011-12-05 15:59:35 +08:00
    @Platinum 我一个一个把网站撤了,结果还是超。
    Ricepig
        5
    Ricepig  
       2011-12-05 16:15:35 +08:00
    把你加载的七七八八的模块卸载了试试看?
    kimcool
        6
    kimcool  
    OP
       2011-12-05 16:16:20 +08:00
    @Ricepig 压根儿没其他模块了。。就一lnmp一件安装包。。。
    Ricepig
        7
    Ricepig  
       2011-12-05 16:18:32 +08:00
    @kimcool 我的意思是你看看php配置,把一些没用的extension关掉
    CoX
        8
    CoX  
       2011-12-05 16:26:57 +08:00
    top -H 看看哪个一直占CPU啊
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1049 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:11 · PVG 05:11 · LAX 14:11 · JFK 17:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.