Hi Peter,

thank you for the reply but that dosent work for me.
have you reproduce it with the steps above?

shows still to much memory and can use to much

tested with stress inside the container
stress --vm-bytes $(awk '/MemFree/{printf "%d\n", $2 * 0.9;}' < /proc/meminfo)k --vm-keep -m 1

i think something is broken in the cgroups association and the processes because there are some pids missing

cat /sys/fs/cgroup/memory/machine/lxc-1674-ct1.libvirt-lxc/cgroup.procs
1674

ps auxf
root 1674 0.0 0.3 210720 7200 ? Sl 14:34 0:00 /usr/lib/libvirt/libvirt_lxc --name ct1 --console 22 --security=none --handshake 25 --veth vnet1 root 1676 0.0 0.2 56724 5236 ? Ss 14:34 0:00 \_ /sbin/init root 1695 0.0 0.1 46092 2248 ? Ss 14:34 0:00 \_ /lib/systemd/systemd-journald root 1727 0.0 0.0 27992 1064 ? Ss 14:34 0:00 \_ /usr/sbin/cron -f root 1728 0.0 0.0 254332 1892 ? Ssl 14:34 0:00 \_ /usr/sbin/rsyslogd -n root 2299 0.0 0.0 12668 1728 pts/0 Ss+ 14:56 0:00 \_ /sbin/agetty --noclear --keep-baud console 115200,38400,9600 linux


--
Mit freundlichen Grüßen / best regards
Markus Raps

Reply via email to