qmemman inflating a qube not in need, starving the system #9627
Labels
affects-4.2
This issue affects Qubes OS 4.2.
C: core
diagnosed
Technical diagnosis has been performed (see issue comments).
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
r4.2-host-cur-test
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Qubes OS release: 4.2
symptoms
After running for "a long time" (more than a week, in this case it happened after 13d uptime), it gets impossible for me to launch any new VM. When running from the GUI the situation is a bit confusing:
journalctl
shows:With additionally various complaints about lack of memory. The following may be of interest:
From the CLI however the user gets more useful feedback clearly pointing to a lack of memory:
I can't say for sure this started with the upgrade to 4.2 but this is quite systematic each time I leave the system running for such a long time.
Usually in a hurry to use the computer I only had a reboot to get things straight again.
investigation
What I see right now is one VM (a HVM one in this case) getting a lot of free RAM, but
qmemman
refuses to reclaim it:If I stop qmemman I can direct the guest's balloon driver to inflate:
But then Qubes won't start a new VM because of qmemman missing, but as soon as I start it again it reflates the balloon again and launching a new VM fails again for lack of memory:
When memman is running, although I can see the xenstore key keeping the value for ~1sec when I change it, that does not appear to be enough to launch a VM after qmemman sets it back.
The text was updated successfully, but these errors were encountered: