Bug 217684 - not enough free memory on hibernation though plenty of space should be given
Summary: not enough free memory on hibernation though plenty of space should be given
Status: NEW
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Page Allocator (show other bugs)
Hardware: i386 Linux
: P3 normal
Assignee: Andrew Morton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-19 10:21 UTC by Elmar Stellnberger
Modified: 2023-07-21 09:17 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (54.71 KB, text/plain)
2023-07-19 10:21 UTC, Elmar Stellnberger
Details
free -m (207 bytes, text/plain)
2023-07-19 10:22 UTC, Elmar Stellnberger
Details
swapon -s (117 bytes, application/octet-stream)
2023-07-19 10:22 UTC, Elmar Stellnberger
Details
free -m before and after second hibernation attempt (same boot) (435 bytes, text/plain)
2023-07-21 09:12 UTC, Elmar Stellnberger
Details
whole system journal since boot (625.80 KB, text/plain)
2023-07-21 09:17 UTC, Elmar Stellnberger
Details

Description Elmar Stellnberger 2023-07-19 10:21:07 UTC
I have 4GB of swap space, 2GB of memory and currently 800MB of RAM as well as 600MB of Swap including 500MB of buffers in use. That should amount to no more than 1.9GB of swap (used also for hibernation here) being required. Please have a short look on the issue! Might be related to Bug 217544 (can´t exclude).

>uname -a 
... 6.3.9-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Wed Jun 21 16:54:49 UTC 2023 i686 GNU/Linux
Comment 1 Elmar Stellnberger 2023-07-19 10:21:44 UTC
Created attachment 304663 [details]
dmesg
Comment 2 Elmar Stellnberger 2023-07-19 10:22:13 UTC
Created attachment 304664 [details]
free -m
Comment 3 Elmar Stellnberger 2023-07-19 10:22:44 UTC
Created attachment 304665 [details]
swapon -s
Comment 4 Elmar Stellnberger 2023-07-19 10:32:19 UTC
Having refused to install distro updates for some time here, I could restart to install them, if these two reports may be of concern. You know, sometimes problems get resolved and sometimes they worsen intermittently, so I felt better served in not installing them for a while.
Comment 5 Elmar Stellnberger 2023-07-21 09:12:56 UTC
Created attachment 304676 [details]
free -m before and after second hibernation attempt (same boot)

The display manager restarted my X-server and the whole Xfce-GUI + other X-clients. After that there was more free memory than before and hibernation did work well as to be expected. As tested just now the resume from hibernation mode was effective and working well. Possibly there was an inconsistency in some data sub-structure and freeing all of it did also resolve the problem.
Comment 6 Elmar Stellnberger 2023-07-21 09:17:05 UTC
Created attachment 304677 [details]
whole system journal since boot

That is the whole journalctl --boot | grep -v msec (don´t like the messages from msec in there as they would expose what files are in my home directory). It includes the first (two) unsuccessful hibernation attempts, the X-server restart as well as the successful hibernation and resume thereafter.

Note You need to log in before you can comment on or make changes to this bug.