Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7512

Beta testing • Re: rpi-swap (Trixie only) - zram-based swap

$
0
0
Installed on a fully-updated trixie'd Lite system. The 'daemon-reload' issue previously reported is gone.

There was a strange log message during the install:

Code:

Aug 19 10:02:50 systemd[1]: Stopping dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file...Aug 19 10:02:50 systemd[1]: var-swap.swap: Deactivated successfully.Aug 19 10:02:50 systemd[1]: dphys-swapfile.service: Deactivated successfully.Aug 19 10:02:50 systemd[1]: Stopped dphys-swapfile.service - dphys-swapfile - set up, mount/unmount, and delete a swap file.Aug 19 10:02:50 systemd[1]: Reload requested from client PID 9255 ('systemctl') (unit session-3.scope)...Aug 19 10:02:50 systemd[1]: Reloading...Aug 19 10:02:50 systemd[1]: Reloading finished in 206 ms.Aug 19 10:02:51 systemd[1]: Reload requested from client PID 9366 ('systemctl') (unit session-3.scope)...Aug 19 10:02:51 systemd[1]: Reloading...Aug 19 10:02:51 zram_generator::config[9403]: zram0: system has too much memory (8063MB), limit is 0MB, ignoring.Aug 19 10:02:52 systemd[1]: Reloading finished in 272 ms.
which also shows up during the system reboot:

Code:

Aug 19 10:04:02 zram_generator::config[235]: zram0: system has too much memory (8063MB), limit is 0MB, ignoring.Aug 19 10:04:02 systemd[1]: Created slice system-systemd\x2dzram\x2dsetup.slice - Slice /system/systemd-zram-setup.Aug 19 10:04:02 systemd[1]: Expecting device dev-zram0.device - /dev/zram0...Aug 19 10:04:02 kernel: zram: Added device: zram0Aug 19 10:04:02 systemd-modules-load[304]: Inserted module 'zram'Aug 19 10:04:02 systemd[1]: Found device dev-zram0.device - /dev/zram0.Aug 19 10:04:02 systemd[1]: Starting systemd-zram-setup@zram0.service - Create swap on /dev/zram0...Aug 19 10:04:02 kernel: zram: setup backing device /dev/disk/by-backingfile/var-swapAug 19 10:04:02 kernel: zram0: detected capacity change from 0 to 4194304Aug 19 10:04:02 systemd-makefs[424]: /dev/zram0 successfully formatted as swap (label "zram0", uuid 2fa76bb9-8bef-4c9a-a153-92e73324fbf8)Aug 19 10:04:02 systemd[1]: Finished systemd-zram-setup@zram0.service - Create swap on /dev/zram0.Aug 19 10:04:02 systemd[1]: Activating swap dev-zram0.swap - rpi-swap managed swap device (zram+file)...Aug 19 10:04:02 systemd[1]: Activated swap dev-zram0.swap - rpi-swap managed swap device (zram+file).Aug 19 10:04:02 kernel: Adding 2097136k swap on /dev/zram0.  Priority:100 extents:1 across:2097136k SSAug 19 10:04:03 systemd[1]: Started rpi-zram-writeback.timer - zram writeback timer.
This doesn't appear to affect anything but it's definitely odd.

free -h output after reboot:

Code:

free -h               total        used        free      shared  buff/cache   availableMem:           7.9Gi       255Mi       7.5Gi       5.3Mi       170Mi       7.6GiSwap:          2.0Gi          0B       2.0Gi

Statistics: Posted by bls — Tue Aug 19, 2025 5:11 pm



Viewing all articles
Browse latest Browse all 7512

Trending Articles