Armbian ZRAM var/log full and email notifications every 15 minutes

I finally figured out this problem on an OrangePI that anybody with an SBC using Armbian may run into.

Problem:
The var/log directory is mounted by default on a 50MB partition on board. It was filling up rather quickly and preventing operation of certain apps that required space logging to function. Additionally, I would get an email every 15 minutes from CRON Daemon: Cron yourdomain.tld /usr/lib/armbian/armbian-truncate-logs.

Solution:
From what I understand of the ZRAM service, it appears to optimize logging when running with SD card as main storage. Since my board has 16GB RAM and on board NVME drive, I disabled ZRAM service which fixed both of these problems.

nano /etc/default/armbian-ramlog

Change Enabled=True to Enabled=False

nano /etc/default/armbian-zram-config

Change Enabled=True to Enabled=False

Then reboot the server.

@peer

1 Like

You mean swapping ? (by compressing the memory so that so need physical swap later than with the default amount of memory)
Or is there another benefit ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.