[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] How to monitor memory in a Linux Xen DomU with a balloon driver?



How can we detect that a DomU is running out of memory, that the balloon driver has released up to maxmem?

I tried ...
# find /sys -iname '*xen*'
...
# find /proc -iname '*xen*'
...
# for f in $(find /sys/bus/xen_memory /sys/devices/system/xen_memory -type f); do echo === $f ===; cat $f 2>/dev/null; done
... but did not identify data for a solution.

Long ago /proc/xen/balloon could be used.

For Debian Stretch DomUs we used to monitor memory implicitly by monitoring swap; when swap space was significantly used, the balloon driver had released all it could. That doesn't work for Debian Buster; swap has been seen 100% used while free and buffers have had ~half the Xen "memory".

Charles

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.