LXC swap voll

XMarcR

Active Member
Jan 17, 2018
28
0
41
45
NRW, Germany
www.risse-it.services
Hallo zusammen,

ich habe ein Phänomen: meine Container belegen kaum RAM, swappen zwischendurch aber immer wieder mal für kurze Zeit, und zwar so lange, bis der Swap voll ist. Kurze Zeit später ist alles wieder normal.
Mein Check_MK bereichtet mir dann folgendes:
CRIT - RAM used: 1.33 GB of 4.00 GB, Swap used: 5.00 GB of 5.00 GB, Total virtual memory used: 6.33 GB of 9.00 GB (70.3%), RAM + Swap: 6.33 GB (158.2% of RAM, warn/crit at 120.0%/150.0%)
swap_CT237.png
Also, Container hat 4GB RAM und 5GB Swap. Der RAM-Verbrauch bleibt relativ konstant bei 1,3 GB.

Ich habe das Problem auf 3 von 5 Containern, alle Container haben Ubuntu 16.04 installiert. Alle Container wurden aus openvz von einem alten PVE importiert. Vorher gab es dieses Phänomen nicht.
Die Server haben kaum Last, da laufen nur Webserver (apache, nginx) oder Nameserserver (bind) drauf und die sind noch nicht produktiv. Da ich bisher den Verursacher nicht auf frischer Tat entdecken konnte, hier die Frage wie ich herausfinden kann was das ist. Die originalen openvz-Container machen das nicht und an der Software wurde nichts geändert (bis auf IP etc).

Ideen??
 
Ist bei meine LXC's auch immer wieder. Ein nerviges Problem. Bin bis heut noch nicht drauf gekommen an was es liegt. Wobei die Anzeigen in Proxmox und im Container meist komplett verschieden sind. Bei Debian und Ubuntu ist wesentlich besser. CenOS schnallt da komplett ab.
Mittlerweile ignoriere ich diese Werte. Sofern der Container normal funktioniert. Und das tun sie komischer weise alle. Sogar Centos.

Da kommen oft ganz blöde Werde. Z.B. sind dann 611MB von 512MB verbraucht... wie geht denn so was :eek:
 

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!