Hacker GitHub

← All repos

azlux/log2ram

View on GitHub ↗ ★ 3,142 Shell

ramlog like for systemd (Put log into a ram folder)

16 mentions on Hacker News by 13 people: 1 story, 15 comments · first 2019-01-29 · latest 2024-12-20

Mentions per year 16 mentions · busiest year 2021 (5)
20082026
  1. …to every second. I played around with mount options like commit=n It kind of helped to use log2ram: https://github.com/azlux/log2ram but it sure didn't eliminate the problem. I think with a little effort from the proxmox guys, they could…
  2. …of the time it's the verbose logging of application servers that is the culprit of sdcard failures. https://github.com/azlux/log2ram
    comment by stevenhuang · 2023-09-28 · in Raspberry Pi 5
  3. …to logs-in-RAM we've been running the same SDs for years. DIY via {fs,journalctl} config , or using https://github.com/azlux/log2ram Also, mount the SD with the `noatime` flag of course: https://wiki.archlinux.org/title/Ext4#Disabling_acces…
  4. …its log files and swap partition If this is the problem, the solutions are no swap and log2ram https://github.com/azlux/log2ram I also noticed that Armbian logs to a ramdisk. I didn't investigate the implementation and if its contents…
  5. …in ram and then writes them to disk on a slower cadence that doesn’t work your SD card that much. https://github.com/azlux/log2ram
  6. …under 24/7 use. Routing most logs to memory rather than disk vastly reduces the wear on the SD: https://github.com/azlux/log2ram
    comment by lukifer · 2022-02-28 · in The Life of Pi: Ten Years of Raspberry Pi
  7. ▲ 2
    Like ramlog for systemd (Useful for RaspberryPi)
    story by shaunpud · 2021-10-28 · 0 comments
  8. …drastically reduces the write-thrashing on the SD card, and greatly prolongs the life of a 24/7 Pi: https://github.com/azlux/log2ram Depending on the use case, RAM disks are also pretty easy to set up for any temporary/volatile storage…
  9. …reducing the writes of logging at least. It saves logging to ram and then writes it once a day. [1] https://github.com/azlux/log2ram
  10. …the money where my mouth is: 1. A little how-to for storing your logs in RAM, a la Armbian style: - https://github.com/azlux/log2ram (It's still updated) 2. Move your SWAP to ZRAM, again Armbian style: -…
    comment by bayindirh · 2021-02-28 · in Ask HN: Always on low power home server
  11. …is not the best storage option for the OS and would like to move mine over to an nvme drive. [0] https://github.com/azlux/log2ram
    comment by fl0under · 2021-02-16 · in Pine64 Unveils Quartz64 SBC
  12. …log2ram, which greatly reduces the write cycles on the boot SD, especially for Pi's that run 24/7: https://github.com/azlux/log2ram
  13. I've been using log2ram [1] which helps my sd cards survive longer than otherwise. [1] https://github.com/azlux/log2ram
    comment by mikkelam · 2020-11-07 · in Raspberry Pi 400 – First Impressions
  14. Most writes are the logs, I use log2ram [1], it reduces SD writes substantially. [1] https://github.com/azlux/log2ram
  15. …writing to it then eventually it sets itself read-only. You can mitigate this somewhat with https://github.com/azlux/log2ram With some finagling you can get them to boot an OS from an external disk then your SD card can just hold a…
    comment by seanhandley · 2019-07-17 · in The Raspberry Pi 4 needs a fan
  16. Check out: https://github.com/azlux/log2ram Explanations: The script creates a /var/log mount point in RAM. So any writing of the log to the /var/log folder will not actually be written to disk (in this case to the sd card for a raspberry…
    comment by jftuga · 2019-01-29 · in New Raspberry Pi Compute Module 3+