Hi all
I have a 3 node-cluster for my development environment, all three nodes are basically same hardware. Cluster is pve6 and all lxc containers are centos7.
In one of the nodes, all the containers have 0 swap memory, no matter what the configured amount is for any lxc. The main node las 16GB swap, nearly all unused.
The other two nodes of the cluster do not have these issue. See below
Affected NODE:
CPU(s) 48 x Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz (2 Sockets)
Kernel Version Linux 5.4.140-1-pve #1 SMP PVE 5.4.140-1 (Wed, 08 Sep 2021 16:21:59 +0200)
PVE Manager Version pve-manager/6.4-13/9f411e79
SWAP usage 2.99% (490.25 MiB of 16.00 GiB)
root@p-4:~# free -hm
total used free shared buff/cache available
Mem: 236Gi 93Gi 12Gi 53Gi 130Gi 87Gi
Swap: 15Gi 490Mi 15Gi
ANY CONTAINER on the node:
root@api-core2-devel ~]# free -hm
total used free shared buff/cache available
Mem: 8.0G 3.1G 1.2G 2.2G 3.6G 4.9G
Swap: 0B 0B 0B
This line, Swap = 0B is the same in all the containers, no matter what info the WEB_UI is showing.
Other NODE
PU(s) 48 x Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz (2 Sockets)
Kernel Version Linux 5.4.140-1-pve #1 SMP PVE 5.4.140-1 (Wed, 08 Sep 2021 16:21:59 +0200)
PVE Manager Version pve-manager/6.4-13/9f411e79
SWAP usage 15.34% (4.91 GiB of 32.00 GiB)
root@proxmox-2:~# free -hm
total used free shared buff/cache available
Mem: 251Gi 33Gi 105Gi 83Gi 112Gi 133Gi
Swap: 31Gi 4.9Gi 27Gi
root@proxmox-2:~#
ANY CONTAINER on the unaffected node is showing swap size according to what is configured in the Web_UI.
[root@mysql-restore ~]# free -hm
total used free shared buff/cache available
Mem: 32G 10G 19G 1.8G 2.1G 21G
Swap: 31G 72K 31G
Any ideas to fix this?
I have a 3 node-cluster for my development environment, all three nodes are basically same hardware. Cluster is pve6 and all lxc containers are centos7.
In one of the nodes, all the containers have 0 swap memory, no matter what the configured amount is for any lxc. The main node las 16GB swap, nearly all unused.
The other two nodes of the cluster do not have these issue. See below
Affected NODE:
CPU(s) 48 x Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz (2 Sockets)
Kernel Version Linux 5.4.140-1-pve #1 SMP PVE 5.4.140-1 (Wed, 08 Sep 2021 16:21:59 +0200)
PVE Manager Version pve-manager/6.4-13/9f411e79
SWAP usage 2.99% (490.25 MiB of 16.00 GiB)
root@p-4:~# free -hm
total used free shared buff/cache available
Mem: 236Gi 93Gi 12Gi 53Gi 130Gi 87Gi
Swap: 15Gi 490Mi 15Gi
ANY CONTAINER on the node:
root@api-core2-devel ~]# free -hm
total used free shared buff/cache available
Mem: 8.0G 3.1G 1.2G 2.2G 3.6G 4.9G
Swap: 0B 0B 0B
This line, Swap = 0B is the same in all the containers, no matter what info the WEB_UI is showing.
Other NODE
PU(s) 48 x Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz (2 Sockets)
Kernel Version Linux 5.4.140-1-pve #1 SMP PVE 5.4.140-1 (Wed, 08 Sep 2021 16:21:59 +0200)
PVE Manager Version pve-manager/6.4-13/9f411e79
SWAP usage 15.34% (4.91 GiB of 32.00 GiB)
root@proxmox-2:~# free -hm
total used free shared buff/cache available
Mem: 251Gi 33Gi 105Gi 83Gi 112Gi 133Gi
Swap: 31Gi 4.9Gi 27Gi
root@proxmox-2:~#
ANY CONTAINER on the unaffected node is showing swap size according to what is configured in the Web_UI.
[root@mysql-restore ~]# free -hm
total used free shared buff/cache available
Mem: 32G 10G 19G 1.8G 2.1G 21G
Swap: 31G 72K 31G
Any ideas to fix this?