We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ed4513 commit f3426e3Copy full SHA for f3426e3
files/image_config/logrotate/logrotate.d/rsyslog
@@ -57,8 +57,8 @@
57
58
VAR_LOG_SIZE_KB=$(df -k /var/log | sed -n 2p | awk '{ print $2 }')
59
60
- # Limit usable space to 95% of the partition minus the reserved space for other logs
61
- USABLE_SPACE_KB=$(( (VAR_LOG_SIZE_KB * 95 / 100) - RESERVED_SPACE_KB))
+ # Limit usable space to 90% of the partition minus the reserved space for other logs
+ USABLE_SPACE_KB=$(( (VAR_LOG_SIZE_KB * 90 / 100) - RESERVED_SPACE_KB))
62
63
# Set our threshold so as to maintain enough space to write all logs from empty to full
64
# Most likely, some logs will have non-zero size when this is called, so this errs on the side
0 commit comments