log2ram
linux
log2ram | linux | |
---|---|---|
50 | 72 | |
2,507 | 10,705 | |
- | 1.0% | |
4.5 | 10.0 | |
5 months ago | 8 days ago | |
Shell | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
log2ram
-
Raspberry Pi 5
Reducing logging, logging to ram and writing to the sdcard once a day helps longevity a lot, especially with quality sd cards.
99% of the time it's the verbose logging of application servers that is the culprit of sdcard failures.
https://github.com/azlux/log2ram
- Pihole Regular Maintenance and Performance
- Using old MicroSD on RPi for PiHole, any issues?
-
Interesting M.2 devices for the HomeLabs
I always use this: https://github.com/azlux/log2ram
-
My remote Pi for my ADSB is going bad
If you've got other issues then it's quite likely that lots of small writes from logging and similar has worn out the SD card, mounting the SD card as read only or installing log2ram could prevent it happening to another SD card.
-
EsPiFF: An ESP32 in the Raspberry Pi form factor
> writing permanent 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 survive a reboot.
The only real problems for me are that the SD card will eventually fail no matter what (I mean, much sooner than a SDD or HDD) and that there are basically no Pis at sale at a reasonable price. As a platform it is nearly dead.
-
Can My I5 2300(12GB RAM) Server Handle This Workload
For Pi-hole, I have an Rpi Zero with $10 Usb-to-Ethernet adapter, SD-card barely written (with Log2Ram) to avoid wear. Running about 3 years now almost unattended (besides security updates).
-
I finally found an use case for my Raspberry Pi Model B+
In addition to the other helpful suggestions you’ve received, look into using Log2Ram. It does what it sounds like, puts log writes 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
-
Reduce disk writes for Ubuntu, save your USB stick
Log files are a bit trickier. I want these to stick around between reboots, so just storing them on a ramdisk wouldn't really work. Thankfully, log2ram solves this problem. Written primarily for Raspberry Pi machines, it works fine on x86-64 laptops. This stores /var/log in RAM but will sync the contents to disk from time to time, ideal for our needs.
- Dumb question….
linux
-
Argon mini fan starts at 55°C but never stops
Fan control generally involves hysteresis. This means a cooling fan turns on at one temperature, and then turns off once temperature has fallen to another lower temperature. This avoids cycling the fan on and off too much. The difference between those two temperatures is hysteresis. The default hysteresis is 10°C and maybe the fan never manages to cool the CPU to 45°C. A parameter has been added to change hysteresis: https://github.com/raspberrypi/linux/commit/fa390133fd17f2cc6aa5a7d2e472c073a1115fe1
-
Raspberry Pi 5
I see that the PR against the Raspberry Pi linux repo is out [0]. Interestingly they are introducing a BCM2712 defconfig with a 64k default page size.
[0] - https://github.com/raspberrypi/linux/pull/5618
-
[RPi4] classic install or GenPi64
and can grab their patched kernel source here ( use the dtbs and overlays and kernel from your compiled version)
-
24 SPI displays on one ESP32?
Also was your pi issue related to this? https://github.com/raspberrypi/linux/issues/3381 or what do you mean jittery, unstable?
-
Issues with Raspberry Pi Zero W and Camera Module - bullseye and buster errors.
Could be related to the driver load order/blacklisting (https://github.com/raspberrypi/linux/issues/435) Or couple of people report configuring the dtoverlay=imx477 in the boot config helped (https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/README)
-
RaspberryOS & Sense Hat v1
thanks, I also found this: https://github.com/raspberrypi/linux/issues/5398
- Vulkan not starting on RPi4
-
How Brompton Bicycle uses Raspberry Pi technology to improve production [video]
And ready! :)
> It is the most basic task for Linux computer...
Well, it depends for whom. Also, you need adequate software and hardware. About wireless, the chipset in an RPi4 is designed for clients, not APs, and its capabilities on having multiple clients are quite limited:
https://github.com/raspberrypi/linux/issues/3010
Routers like the Omnia Turris, Mikrotik, PC Engines... use specific mini PCIe cards that can be as expensive as a full Raspberry Pi 4, just for the wireless.
https://www.discomp.eu/wireless-minipci-cards_c14501412.html
- How can I fix this?
- Display Backlight not turning off
What are some alternatives?
zram-init - A wrapper script for the zram linux kernel module with zsh and openrc support
zen-kernel - Zen Patched Kernel Sources
docker-pi-hole - Pi-hole in a docker container
FUZIX - FuzixOS: Because Small Is Beautiful
DietPi - Lightweight justice for your single-board computer!
LibreELEC.tv - Just enough OS for KODI
yunohost - YunoHost is an operating system aiming to simplify as much as possible the administration of a server. This repository corresponds to the core code, written mostly in Python and Bash.
zfs - OpenZFS on Linux and FreeBSD
folder2ram - mount those folders to ram without losing access to their counterpart on disk!
sanoid - These are policy-driven snapshot management and replication tools which use OpenZFS for underlying next-gen storage. (Btrfs support plans are shelved unless and until btrfs becomes reliable.)
rpi-clone - A shell script to clone a booted disk.
cacule-cpu-scheduler - The CacULE CPU scheduler is based on interactivity score mechanism. The interactivity score is inspired by the ULE scheduler (FreeBSD scheduler).