Whether or not I allocate swap to a container, the container still shows the swap size of the physical server.
Software such as NextCloud reports memory usage by adding Mem and Swap together.
/proc/meminfo
Is swap allocated inside the container or is it allocated to the already created physical machine's swap?
Is it intentional for /proc/meminfo to show the actual swap size rather than the virtual swap size?
Software such as NextCloud reports memory usage by adding Mem and Swap together.
/proc/meminfo
Code:
MemTotal: 262144 kB
MemFree: 218196 kB
MemAvailable: 218196 kB
...
SwapCached: 0 kB
SwapTotal: 7340028 kB
SwapFree: 7340028 kB
Is swap allocated inside the container or is it allocated to the already created physical machine's swap?
Is it intentional for /proc/meminfo to show the actual swap size rather than the virtual swap size?
Last edited: