Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HVM stub-domain occasionally runs out of memory #3821

Open
eug48 opened this issue Apr 15, 2018 · 4 comments
Open

HVM stub-domain occasionally runs out of memory #3821

eug48 opened this issue Apr 15, 2018 · 4 comments
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.

Comments

@eug48
Copy link

eug48 commented Apr 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:

@eug48
Copy link
Author

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
https://github.com/QubesOS/qubes-vmm-xen/blob/ab932b916883893f5c105b5338686c3856858fd7/patch-stubdom-linux-config-stubdom-mem.patch

Any help would be much appreciated.

@eug48
Copy link
Author

eug48 commented 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.

@andrewdavidwong andrewdavidwong added the eol-4.0 Closed because Qubes 4.0 has reached end-of-life (EOL) label Aug 5, 2023
@github-actions

This comment has been minimized.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2023
@andrewdavidwong
Copy link
Member

Reopening because it's still listed as known bug on #1861.

@andrewdavidwong andrewdavidwong added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. and removed eol-4.0 Closed because Qubes 4.0 has reached end-of-life (EOL) labels Jan 17, 2025
@andrewdavidwong andrewdavidwong removed this from the Release 4.0 updates milestone Jan 17, 2025
@andrewdavidwong andrewdavidwong added needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. and removed T: bug labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information.
Projects
None yet
Development

No branches or pull requests

2 participants