diff --git a/rootfs/rock64/etc/default/armbian-ramlog b/rootfs/rock64/etc/default/armbian-ramlog index 6f850f09..1c442940 100644 --- a/rootfs/rock64/etc/default/armbian-ramlog +++ b/rootfs/rock64/etc/default/armbian-ramlog @@ -4,7 +4,7 @@ ENABLED=true # # size of the tmpfs mount -- please keep in mind to adjust /etc/default/armbian-zram-config too when increasing -SIZE=100M +SIZE=125M # # use rsync instead of cp -r # requires rsync installed, may provide better performance diff --git a/rootfs/rockpro64/etc/default/armbian-ramlog b/rootfs/rockpro64/etc/default/armbian-ramlog index 6f850f09..d4a114f7 100644 --- a/rootfs/rockpro64/etc/default/armbian-ramlog +++ b/rootfs/rockpro64/etc/default/armbian-ramlog @@ -4,7 +4,7 @@ ENABLED=true # # size of the tmpfs mount -- please keep in mind to adjust /etc/default/armbian-zram-config too when increasing -SIZE=100M +SIZE=150M # # use rsync instead of cp -r # requires rsync installed, may provide better performance diff --git a/rootfs/standard/etc/log2ram.conf b/rootfs/standard/etc/log2ram.conf index 99261d60..6edbab59 100644 --- a/rootfs/standard/etc/log2ram.conf +++ b/rootfs/standard/etc/log2ram.conf @@ -5,7 +5,7 @@ # If it's not enough, log2ram will not be able to use ram. Check you /var/log size folder. # The default is 40M and is basically enough for a lot of applications. # You will need to increase it if you have a server and a lot of log for example. -SIZE=100M +SIZE=125M # This variable can be set to true if you prefer "rsync" rather than "cp". # I use the command cp -u and rsync -X, so I don't copy the all folder every time for optimization. diff --git a/rootfs/standard/usr/bin/mynode_post_upgrade.sh b/rootfs/standard/usr/bin/mynode_post_upgrade.sh index 7a4edae2..62dd1f1f 100755 --- a/rootfs/standard/usr/bin/mynode_post_upgrade.sh +++ b/rootfs/standard/usr/bin/mynode_post_upgrade.sh @@ -11,6 +11,9 @@ date # Shut down main services to save memory and CPU /usr/bin/mynode_stop_critical_services.sh +# Delete ramlog to prevent ram issues +rm -rf /var/log/* + # Check if any dpkg installs have failed and correct dpkg --configure -a