Swap BUG CT

Cantalupo

Active Member
Dec 21, 2016
28
0
41
30
I created a CT with swap memory of "512MB", but when I access the CT I see that it was released much more than this.
v5qAPQj.png


I've reinstalled the proxmox server several times, so I've found that Swap is always the same value as RAM.
g3ka4gH.png


How could you solve this problem?
 
this a result of how containers/cgroups track memory usage. there is one limit for memory, and one for memory+swap. so while you configure 512mb of swap, you actually allow the container to use up to MEMORY+512MB swap, as long as the used memory and the used swap together stay under this limit.
 
I noticed that the selected ram is being added to the amount of swap memory.
Would that be a Proxmox bug?
Is there any solution?
 
please read my first reply.
 
  • Like
Reactions: fireon

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!