Linode 各机房速度测试
http://www.linode.com/speedtest/
wibile
V2EX  ›  Linode

熟悉 linode 的朋友请进,关于内存耗尽问题。

  •  
  •   wibile · May 7, 2014 · 1415 views
    This topic created in 4458 days ago, the information mentioned may be changed or developed.
    最近在linode买了几个节点测试程序,最低配置2 GB RAM 2 CPU Cores,实际运行时发现进程跑的一多就会被kill掉,mysql服务也down掉过几次。客服回答:Your Linode is OOMing, meaning something inside your node is consuming all of the available virtual memory. You can see this for yourself by logging into Lish and viewing the console:http://library.linode.com/linode-manager/using-lish-the-linode-shell,并且建议我更换高级的配置,想问一下,有经验的朋友对于内存用量有没有个估计值,比如平时物理内存1G对应linode虚拟内存需要多少才能到达同样效果?还有swap的设置应该如何?
    还有个情况是,longview里内存从未超过1.5G,cpu到是最高到200%。
    给点建议哈。
    2 replies    2014-05-07 20:24:35 +08:00
    licell
        1
    licell  
       May 7, 2014
    那就升级吧,以前用最低配置时经常apache被干掉,升了一级后就基本没再发生过
    764664
        2
    764664  
       May 7, 2014
    内存用量应该是相近的。
    建议LZ用top/ps等命令找出原因。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5688 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 01:42 · PVG 09:42 · LAX 18:42 · JFK 21:42
    ♥ Do have faith in what you're doing.