Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upHVM stub-domain occasionally runs out of memory #3821
Comments
andrewdavidwong
added
bug
C: core
labels
Apr 15, 2018
andrewdavidwong
added this to the Release 4.0 updates milestone
Apr 15, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
eug48
May 2, 2018
It hope that increasing the stubdom's memory could mitigate this but I can't find how to do this even though these two patches suggest it is possible:
https://github.com/QubesOS/qubes-core-libvirt/blob/385f8f3f432fcdf6aacdbd8c11d62635cea10c2f/0020-libxl-add-support-for-stubdom_mem-option.patch
https://github.com/QubesOS/qubes-vmm-xen/blob/ab932b916883893f5c105b5338686c3856858fd7/patch-stubdom-linux-config-stubdom-mem.patch
Any help would be much appreciated.
eug48
commented
May 2, 2018
|
It hope that increasing the stubdom's memory could mitigate this but I can't find how to do this even though these two patches suggest it is possible: https://github.com/QubesOS/qubes-core-libvirt/blob/385f8f3f432fcdf6aacdbd8c11d62635cea10c2f/0020-libxl-add-support-for-stubdom_mem-option.patch Any help would be much appreciated. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
eug48
May 2, 2018
I've figured it out: to set the stubdom's memory to ~500MB run qvm-prefs Win10 stubdom_mem 500. The setting can be verified through xl list.
This seems to have helped as I can now install the latest Windows 10 Feature Update.
eug48
commented
May 2, 2018
|
I've figured it out: to set the stubdom's memory to ~500MB run This seems to have helped as I can now install the latest Windows 10 Feature Update. |
eug48 commentedApr 15, 2018
Qubes OS version:
R4.0
Affected component(s):
HVM stub domains
Steps to reproduce the behavior:
Run Windows 10 HVM, giving it 16GB of RAM (out of 32GB).
The VM occasionally fails when there's relatively high memory/cpu usage.
Expected behavior:
VM runs without interruption
Actual behavior:
The Windows 10 VM fails due to the stub-domain OOM killer killing qemu.
Logs here: https://gist.github.com/eug48/472ede7f275bd1ccf4fb9bf1f6157b8d
General notes:
Related issues: