LXC ussing swap space while memory not used yet

gerdnl

Member
Oct 21, 2013
114
0
16
how is it possible that my lxc container uses swap while it still has plenty memory?
Screen_Shot_2018_02_09_at_02_55_39.png
 
Area Used Cache Noncache
firmware/hardware 0.00% 0.00% 0.00%
kernel image 0.00% 0.00% 0.00%
kernel dynamic memory -19.04% -20.00% 0.96%
userspace memory 38.36% 26.61% 11.75%
free memory 80.68% 80.68% 0.00%
 
swap used by

python 13972 kB

nginx 1980 kB

nginx 1700 kB

nginx 1648 kB

node 1592 kB

python 1392 kB

python 1388 kB

python 1388 kB

python 1384 kB

python 1384 kB

python 1384 kB

python 1384 kB

python 1384 kB

(sd-pam) 948 kB

nginx 724 kB

sshd 648 kB

uwsgi 608 kB

systemd 600 kB

redis-server 544 kB

accounts-daemon 516 kB

systemd-resolve 484 kB

uwsgi 420 kB

systemd-logind 380 kB

uwsgi 368 kB

uwsgi 368 kB

uwsgi 344 kB

systemd-journal 344 kB

rsyslogd 308 kB

dbus-daemon 232 kB

cron 120 kB
 
sudo sysctl -w vm.swappiness=0
sysctl: setting key "vm.swappiness": Read-only file system
 
what should i set now for the proxmox node, its seems to be at swappines 60
can i safely put the nodes on 1 or 10?
 

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!