Hi,
I've got the same behavior using OpenMediaVault 6.0.21 on an Helios64 using Linux 5.15.25-rockchip64.
I tried to extend /dev/zram1 size from 50M to 150M.
# configuration values for the armbian-ram-logging service
#
# enable the armbian-ram-logging service?
ENABLED=true
#
# size of the tmpfs mount -- please keep in mind to adjust /etc/default/armbian>
SIZE=150M
#
# use rsync instead of cp -r
# requires rsync installed, may provide better performance
# due to copying only new and changed files
USE_RSYNC=true
kobol@helios64:~$ sudo zramctl
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram1 zstd 150M 16.4M 1.4M 3M 6 /var/log
/dev/zram0 lzo-rle 1.9G 4K 74B 12K 6 [SWAP]
After rebooting, /var/log size actually increased and the email flow stopped for a while. Until it reached a critical threshold I guess.
So far, I've got one email per day saying the logs are truncated. However as I checked /var/log, it has plenty of room still.
kobol@helios64:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 387M 13M 374M 4% /run
/dev/mmcblk1p1 15G 2.1G 12G 15% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.9G 0 1.9G 0% /tmp
/dev/zram1 146M 17M 119M 13% /var/log
/dev/md0 1.8T 772G 1.1T 43% /srv/dev-disk-by-uuid-835fd1cc-3d15-41e4-a782-d4a4b66a415a
tmpfs 387M 0 387M 0% /run/user/1000
For info, please have below memory consumption of /var/log.hdd:
kobol@helios64:~$ sudo du -h /var/log.hdd
12K /var/log.hdd/unattended-upgrades
180K /var/log.hdd/nginx
32K /var/log.hdd/salt
4.0K /var/log.hdd/samba/cores/nmbd
4.0K /var/log.hdd/samba/cores/smbd
12K /var/log.hdd/samba/cores
6.4M /var/log.hdd/samba
4.0K /var/log.hdd/watchdog
24K /var/log.hdd/cron-apt
32K /var/log.hdd/proftpd
4.0K /var/log.hdd/private
4.0K /var/log.hdd/chrony
4.0K /var/log.hdd/openmediavault
4.0K /var/log.hdd/sysstat
124K /var/log.hdd/apt
136M /var/log.hdd/journal/736dbda275634e9d985f9e5ae956b2a2
136M /var/log.hdd/journal
4.0K /var/log.hdd/runit/ssh
8.0K /var/log.hdd/runit
153M /var/log.hdd