Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cweedall/db044a534b6b3990f44bfda6ae2c1401 to your computer and use it in GitHub Desktop.
Save cweedall/db044a534b6b3990f44bfda6ae2c1401 to your computer and use it in GitHub Desktop.
log2ram (safe logs to RAM until large enough to transfer to log file) sometimes doesn't start because virtual RAM disk is too small - these settings can fix!
# When log2ram has the following error:
# ERROR: RAM disk too small. Can't sync
# see: https://github.com/azlux/log2ram/issues/90
# In /etc/log2ram.conf
# change
SIZE=40M
# to
SIZE=100M
# or 200M if 100M doesn't work!
# Also consider changing:
LOG_DISK_SIZE=100M
# to
LOG_DISK_SIZE=120M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment