zram space disappear

Asked by Simon Weng

Hello!

I use a laptop with dm-crypt and on this devices after a while the zramspace disappear.

System: Impish
Software: ii zram-config 0.6 all Upstart job to enable zram support
Kernel: 5.13.0-28-generic

When I do systemctl restart zram-config zram works again but only for a while.

Any hints? My other laptop without encryption and Focal everything works fine.

Thanks!

Best regard

Simon

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu zram-config Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Is there anything in the system logs around the time when this happens?

Revision history for this message
Simon Weng (simonw3311) said :
#3

Thanks for your response.

The only think what i can see in dmesg after zram disapperas is:

[13609.993864] Adding 1003516k swap on /dev/mapper/kubuntu--vg-swap_1. Priority:-2 extents:1 across:1003516k SSFS

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#4

I suggest that you execute the command

systemctl --no-pager --full status zram-config

when the problem arises again and check the output for any helpful information.

Revision history for this message
Simon Weng (simonw3311) said :
#5

Thanks for your hint.

Fresh reboot

free -m
               gesamt benutzt frei gemns. Puffer/Cache verfügbar
Speicher: 15702 3238 5447 2065 7015 10071
Auslager: 8830 0 8830

root@kubuntu:/home/simon# systemctl --no-pager --full status zram-config
● zram-config.service - Initializes zram swaping
     Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled)
     Active: active (exited) since Fri 2022-02-18 15:44:43 CET; 2min 52s ago
    Process: 1265 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=0/SUCCESS)
   Main PID: 1265 (code=exited, status=0/SUCCESS)
        CPU: 55ms

Feb 18 15:44:42 kubuntu init-zram-swapping[1513]: keine Bezeichnung, UUID=7adb052a-93f8-4982-9241-873425d82d0b
Feb 18 15:44:42 kubuntu init-zram-swapping[1560]: Auslagerungsbereich Version 1 wird angelegt, Größe = 981,4 MiB (1029046272 Bytes)
Feb 18 15:44:42 kubuntu init-zram-swapping[1560]: keine Bezeichnung, UUID=f83a3ce8-c766-40d7-a40f-639c0682ef86
Feb 18 15:44:42 kubuntu init-zram-swapping[1580]: Auslagerungsbereich Version 1 wird angelegt, Größe = 981,4 MiB (1029046272 Bytes)
Feb 18 15:44:42 kubuntu init-zram-swapping[1580]: keine Bezeichnung, UUID=ab72d231-0581-4fee-8833-2a9969451953
Feb 18 15:44:42 kubuntu init-zram-swapping[1592]: Auslagerungsbereich Version 1 wird angelegt, Größe = 981,4 MiB (1029046272 Bytes)
Feb 18 15:44:42 kubuntu init-zram-swapping[1592]: keine Bezeichnung, UUID=0d820f37-ba31-4377-9906-d0f549ccd194
Feb 18 15:44:43 kubuntu init-zram-swapping[1601]: Auslagerungsbereich Version 1 wird angelegt, Größe = 981,4 MiB (1029046272 Bytes)
Feb 18 15:44:43 kubuntu init-zram-swapping[1601]: keine Bezeichnung, UUID=27c7405c-fec6-4830-a8db-18e0952d3d2d
Feb 18 15:44:43 kubuntu systemd[1]: Finished Initializes zram swaping.

#####################

After a few minutes

free -m
               gesamt benutzt frei gemns. Puffer/Cache verfügbar
Speicher: 15702 4319 3118 2158 8263 8898
Auslager: 979 0 979

root@kubuntu:/home/simon# systemctl --no-pager --full status zram-config
● zram-config.service - Initializes zram swaping
     Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled)
     Active: active (exited) since Fri 2022-02-18 15:44:43 CET; 24min ago
   Main PID: 1265 (code=exited, status=0/SUCCESS)
      Tasks: 0 (limit: 18753)
     Memory: 0B
        CPU: 0
     CGroup: /system.slice/zram-config.service

Feb 18 15:44:42 kubuntu init-zram-swapping[1513]: keine Bezeichnung, UUID=7adb052a-93f8-4982-9241-873425d82d0b
Feb 18 15:44:42 kubuntu init-zram-swapping[1560]: Auslagerungsbereich Version 1 wird angelegt, Größe = 981,4 MiB (1029046272 Bytes)
Feb 18 15:44:42 kubuntu init-zram-swapping[1560]: keine Bezeichnung, UUID=f83a3ce8-c766-40d7-a40f-639c0682ef86
Feb 18 15:44:42 kubuntu init-zram-swapping[1580]: Auslagerungsbereich Version 1 wird angelegt, Größe = 981,4 MiB (1029046272 Bytes)
Feb 18 15:44:42 kubuntu init-zram-swapping[1580]: keine Bezeichnung, UUID=ab72d231-0581-4fee-8833-2a9969451953
Feb 18 15:44:42 kubuntu init-zram-swapping[1592]: Auslagerungsbereich Version 1 wird angelegt, Größe = 981,4 MiB (1029046272 Bytes)
Feb 18 15:44:42 kubuntu init-zram-swapping[1592]: keine Bezeichnung, UUID=0d820f37-ba31-4377-9906-d0f549ccd194
Feb 18 15:44:43 kubuntu init-zram-swapping[1601]: Auslagerungsbereich Version 1 wird angelegt, Größe = 981,4 MiB (1029046272 Bytes)
Feb 18 15:44:43 kubuntu init-zram-swapping[1601]: keine Bezeichnung, UUID=27c7405c-fec6-4830-a8db-18e0952d3d2d
Feb 18 15:44:43 kubuntu systemd[1]: Finished Initializes zram swaping.

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#6

I am sorry. I do not see anything that might help explaining what's happening.
I am at my wits' end.

Revision history for this message
Bernard Stafford (bernard010) said (last edit ):
#7

Please use terminal and paste output here for diagnostic:
lsb_release -a; uname -a; python --version

You may consider filing a bug report.

Here is the current packages for zram.
https://packages.ubuntu.com/search?keywords=zram&searchon=names&suite=impish&section=all
You may need all three packages.

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.