@
bingfengfeifei 上次说的那个 /tmp 挂载内存应该不是主要原因,tmp 涨的是 buff/cache 内存,我们的 used 也是暴涨,比正常多了 40+G ,而且没有任何进程占用内存。cat /proc/meminfo 也看不到任何多余占用。
最后排查出来是因为设置网卡队列长度这个操作引起,怀疑是国产操作系统+国产硬件 的 BUG 。
# free -h
total used free shared buff/cache available
Mem: 62Gi 7.6Gi 52Gi 46Mi 2.6Gi 48Gi
Swap: 0B 0B 0B
root@localhost in ~ [16:43:38]
# ethtool -G enp6s0f1 rx 4096 tx 4096
root@localhost in ~ [16:43:45]
# free -h
total used free shared buff/cache available
Mem: 62Gi 22Gi 37Gi 46Mi 2.6Gi 33Gi
Swap: 0B 0B 0B
root@localhost in ~ [16:43:46]
# ethtool -G enp6s0f1 rx 256 tx 256
root@localhost in ~ [16:44:00]
# free -h
total used free shared buff/cache available
Mem: 62Gi 7.6Gi 52Gi 46Mi 2.6Gi 48Gi
Swap: 0B 0B 0B
不知道和你问题一样吗