• 请不要在回答技术问题时复制粘贴 AI 生成的内容
feng32
V2EX  ›  程序员

GCE 主机 CPU 占用率不高但系统还是提示 This instance is overutilized

  •  
  •   feng32 · Oct 25, 2017 · 3564 views
    This topic created in 3155 days ago, the information mentioned may be changed or developed.

    CPU 占用率基本上小于 10%

    Machine type: f1-micro (1 vCPU, 0.6 GB memory)

    Note: This instance is overutilized. Consider switching to the machine type: g1-small (1 vCPU, 1.7 GB memory). Learn more

    有人遇到过同样的问题吗?这个消息是否可以完全忽略?

    7 replies    2017-10-26 10:21:56 +08:00
    isCyan
        1
    isCyan  
       Oct 25, 2017
    消息可以完全忽略。
    我 apt install 一下就这样了。
    xyfan
        2
    xyfan  
       Oct 25, 2017
    是不是内存占用高了?
    isCyan
        3
    isCyan  
       Oct 25, 2017
    @xyfan 其实根本不是占用高,我刚装完系统就这样,就是谷歌不想让你用这个超低配而已
    xyfan
        4
    xyfan  
       Oct 25, 2017
    @isCyan 那倒不是 我的也是这个最小,提醒过一阵子(出了点问题),解决了之后就没再提醒过。
    flynaj
        5
    flynaj  
       Oct 26, 2017 via Android
    这个是你内存不够用,它建议你升级。只是建议
    monnand
        6
    monnand  
       Oct 26, 2017 via Android
    有可能你的瞬时 CPU 使用时间超过了你的上限,也有可能这是个 bug。。。

    简单说,如果系统上有富裕资源,那就不在乎多给你用一点。但会偷偷记在本子上。要是稍微有点多,就给个建议升级啥的。这个功能主要是给用户做 Auto scale 的
    feng32
        7
    feng32  
    OP
       Oct 26, 2017
    @xyfan
    @flynaj

    内存量充足
    free -m
    total used free shared buff/cache available
    Mem: 588 151 231 16 205 283
    Swap: 0 0 0

    CPU 也基本上不超过 10%,看起来可能就是因为几天前的时候,有几分钟在编译程序造成的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5852 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 03:13 · PVG 11:13 · LAX 20:13 · JFK 23:13
    ♥ Do have faith in what you're doing.