有人知道这是啥原因吗?

飞雪 2026-06-07 21:35 1


总内存每次重启都变动 有一次重启忘了测试 但是面板看的是16G 实际配置就是16G内存的


补充,没有重启的情况下,内存也会变动,8G-16G范围内乱跳


再次补充,没内存还能降到6G 估计如果一直闲置的话 可能会降低到1G都有可能

最新回复 (18)
  • netcup 06-07 21:38
    1

    可能商家母鸡超售技术不到家。 ^-^

  • Kingrz 06-07 21:39
    2

    最常见的就是“内存超售”与“动态内存分配”

  • 飞雪 楼主 06-07 21:40
    3

    @netcup #1 ^-^ 这是超售导致的?

  • Kingrz 06-07 21:40
    4

    当你执行 ⁠reboot⁠ 时,你的虚拟机在母机上实际上经历了一次“释放资源再重新申请”的过程。如果刚好碰上母机此时负载很高,其他邻居把内存占满了,母机的气球驱动就会“回收”你的一部分内存,导致你重启后看到的 ⁠total⁠ 变小了(比如变成了 7.3G)。当母机负载低、内存充裕,或者你刚重启时抢占到了资源,系统就会分给你完整的规格(比如 14G)。

  • 飞雪 楼主 06-07 21:41
    5

    @Kingrz #4 感谢解答

  • 飞雪 楼主 06-07 21:41
    6

    @gatewaysentry Can you explain what's going on here?

  • tafei 06-07 21:42
    7

    @Kingrz #4 学到了

  • 飞雪 楼主 06-07 21:43
    8

    @Kingrz #4 还有一个问题 就是比如 我现在16G内存 实际用了8G 如果还想用更多 但是这个时候母鸡的内存不够了,会导致什么?

  • Kingrz 06-07 22:51
    9

    @飞雪 #8 最常见的就是OOM崩溃

  • kfcnocola 06-07 22:58
    10

    @飞雪 #6 啊这,他家的啊。。。 我刚买了个16$ ^-^

  • 飞雪 楼主 06-07 23:16
    11

    @kfcnocola #10

  • gatewaysentry 06-07 23:19
    12

    @飞雪 #8


    The hypervisor will not run out of Ram,


    We do this to reclaim unused ram, as operating systems like windows eats up ram when its unneeded.

  • 飞雪 楼主 06-07 23:23
    13

    @gatewaysentry #12 To my knowledge, no server would do this. Memory should be fixed rather than dynamic, unlike CPU limitations that prohibit long-term high usage

  • gatewaysentry 06-07 23:57
    14

    @飞雪 #13


    What is your server ID? (Or server name)


    I will personally take a look.

  • kfcnocola 06-08 00:02
    15

    @飞雪 #11 我reboot里几次,暂时没发现这个

  • gatewaysentry 06-08 00:05
    16

    @kfcnocola #15


    What is your server name?

  • kfcnocola 06-08 00:18
    17

    @gatewaysentry #16 I sent you a private message

  • emdel 06-08 00:31
    18

    看来超售挺严重的,服务商技术还不到家被用户发现了 ^-^

* 帖子来源NodeSeek
返回