I have a workstation with 256 GB RAM, and by default the host has only 8 GB SWAP.
With the two LXCs I have, as they can potentially use a lot of RAM, I committed 192 GB RAM and 64 GB SWAP to both.
My question is, in a situation where both LXC reaches a high usage and they consume more than 256 GB in total, are they able to use their individual space for accessing the 64 GB SWAP?
I read somewhere that the way it works is, the LXC's SWAP can only sum up to the host (which is 8 GB here). To make it really works, should I increase the host SWAP size first?
With the two LXCs I have, as they can potentially use a lot of RAM, I committed 192 GB RAM and 64 GB SWAP to both.
My question is, in a situation where both LXC reaches a high usage and they consume more than 256 GB in total, are they able to use their individual space for accessing the 64 GB SWAP?
I read somewhere that the way it works is, the LXC's SWAP can only sum up to the host (which is 8 GB here). To make it really works, should I increase the host SWAP size first?