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

Error dom0 qmemman.systemstate: Xen free too small for satisfy assignments in journalctl #6328

Open
jamke opened this issue Jan 4, 2021 · 10 comments
Labels
affects-4.1 This issue affects Qubes OS 4.1. affects-4.2 This issue affects Qubes OS 4.2. C: core C: Xen 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

@jamke
Copy link

jamke commented Jan 4, 2021

Qubes OS version
R4.0

Affected component(s) or functionality
Memory manager (qmemman) in dom0.

Brief summary
Every hour or even every couple of minutes in journalctl -r I see red lines with error:

Jan 01 12:00:30 dom0 qmemman.systemstate[5000]: Xen free = 526577477 too small for satisfy assignments! assigned_but_unused=513603439, domdict={'12': {'slow_memset_react': False, 'id': '12', 'mem_used': None, 'no_progress': False, 'memory_maximum': 851443712

How Reproducible
Every day, every hour.

To Reproduce
Install R4.0, use it and check journalctl for error messages.

Expected behavior
No error messages in journalctl

Actual behavior
Every hour or even every couple of minutes in journalctl -r I see read lines with error:

Jan 01 12:00:30 dom0 qmemman.systemstate[5000]: Xen free = 526577477 too small for satisfy assignments! assigned_but_unused=513603439, domdict={'12': {'slow_memset_react': False, 'id': '12', 'mem_used': None, 'no_progress': False, 'memory_maximum': 851443712

Additional context
I hope it does not affect the system work. But maybe I'm wrong and it has to be addressed by me as soon as possible?

Solutions you've tried
None.

Related, non-duplicate issues
I found none with this message substrings.

@jamke jamke added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels Jan 4, 2021
@andrewdavidwong andrewdavidwong added C: core C: Xen needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Jan 4, 2021
@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone Jan 4, 2021
@jamke
Copy link
Author

jamke commented Jan 13, 2021

The easiest way to check these errors: journalctl -r -p 3 in dom0.
I see this error like every minute there. Can anyone check it too?

P.S. One example from other user I found: https://www.mail-archive.com/[email protected]/msg32640.html

@zoechi
Copy link

zoechi commented Mar 14, 2021

I discovered this errors as well, while investigating frequent KDE freezes (no indication they are related so far though).
I removed 2 Qubes recently because I run out of disk space.

@donob4n
Copy link

donob4n commented Mar 16, 2021

Related to #6314

I think that it is an expected "warning" if you open too many VM's for your memory. It just says that there are vm's demanding more memory than currently available. It should be changed from log.error() to log.debug() or log.info().

https://github.com/QubesOS/qubes-core-admin/blob/df6407f50811573760879a7a48b9243ea31e504a/qubes/qmemman/__init__.py#L113

@jamke
Copy link
Author

jamke commented Mar 19, 2021

I think that it is an expected "warning" if you open too many VM's for your memory. It just says that there are vm's demanding more memory than currently available. It should be changed from log.error() to log.debug() or log.info().

Many VMs - yes.
Not enough physical memory - probably not.

I think memory management in Qubes OS has some issue.
Something like this: Qubes OS gives a lot of memory to VMs (when those do not need it nor ask, just to distribute it) and then Qubes OS has issue to reallocated it (distribute) properly among many running VMs. And users see this error in logs constantly.

@zoechi
Copy link

zoechi commented Mar 22, 2021

I have 2 VMs that both only run Firefox and a third one where I run my development environment (Emacs, Chrome, Docker). The machine has 32GB of RAM.

@jamke
Copy link
Author

jamke commented May 16, 2021

T: bug
needs-diagnosis

Any additional help needed to diagnose this bug? I can answer related questions if you needed it.

@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 was marked as outdated.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2023
@andrewdavidwong andrewdavidwong removed the needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. label Aug 5, 2023
@jamke
Copy link
Author

jamke commented Aug 5, 2023

I have this bug on R4.1. Just checked the logs, it happens several times a day.
Once more: I can answer related questions to help with diagnosis.

@andrewdavidwong andrewdavidwong added needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. and removed eol-4.0 Closed because Qubes 4.0 has reached end-of-life (EOL) labels Aug 5, 2023
@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
@andrewdavidwong andrewdavidwong removed this from the Release 4.1 updates milestone Aug 13, 2023
@andrewdavidwong andrewdavidwong added eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Dec 7, 2024

This comment was marked as outdated.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2024
@ubuntupunk
Copy link

Same issue here on 4.2.3

@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 eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. affects-4.2 This issue affects Qubes OS 4.2. C: core C: Xen 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

5 participants