- 3 Posts
- 29 Comments
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Small VPN Access Device?English
202·2 years agoGL.iNet are good ones, or if you want to go the Rambo mode, then an orange pi r1 plus, one of these will do the work. Good luck
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•What's the difference between a $50 HDD and a $200 HDD?English
11·2 years agoThe price?
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Cheap but reliable external SSD for RPisEnglish
13·2 years agowhat it’s log2ram
Log2Ram is a utility designed to extend the lifespan of storage devices, particularly SD cards in Raspberry Pi systems, by reducing write operations[1][4]. Here’s an overview:
How it works
Log2Ram redirects log files from being written directly to storage (/var/log) to being written to RAM instead[1]. It creates a mount point in RAM for /var/log, so all logs are written to temporary memory (tmpfs) rather than the physical disk[2].
Benefits
-
Extended storage life: By reducing write operations to SD cards or SSDs, Log2Ram helps prolong their lifespan[1][4].
-
Improved performance: Writing to RAM is faster than writing to disk, enhancing system responsiveness[4].
-
Transparency: Applications continue to write logs to /var/log as usual, unaware that it’s now in RAM[1].
Key features
- Configurable RAM allocation for logs (default 40M)[2]
- Daily synchronization of RAM logs to disk via a cron job[1]
- Synchronization on system shutdown to preserve logs[1]
- Optional use of rsync for synchronization[2]
- Compatibility with zram for space-efficient log storage[3]
While Log2Ram offers significant benefits, it’s important to note that logs may be lost in case of unexpected power loss or system crashes before synchronization occurs[3].
Citations: [1] How log2ram works. | The World’s Linux Journal https://linuxfun.org/en/2021/01/01/what-log2ram-does-en/ [2] Log2Ram https://nimno.net/dev/linux/log2ram/ [3] Extend The Lifespan of Your Raspberry Pi’s SD Card with log2ram https://ikarus.sg/extend-sd-card-lifespan-with-log2ram/ [4] Optimizing Performance with Raspberry Pi Log2Ram https://fleetstack.io/blog/raspberry-pi-log2ram-guide [5] Using Log2RAM on the Raspberry Pi - Pi My Life Up https://pimylifeup.com/raspberry-pi-log2ram/ [6] How To Write Log Files In RAM Using Log2ram In Linux - OSTechNix https://ostechnix.com/how-to-write-log-files-in-ram-using-log2ram-in-linux/ [7] Extend your Pi’s SD Card Life with Log2Ram! - YouTube https://www.youtube.com/watch?v=MrRGa7kAhQo [8] How to extend the lifespan of memory cards on the Raspberry Pi with Log2Ram https://www.geekbitzone.com/posts/2020/log2ram/log2ram-raspberry-pi/
-
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Cheap but reliable external SSD for RPisEnglish
13·2 years agoLook for log2ram on a LLM.
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Please help me stop my baby from crying because kodi keeps bufferingEnglish
310·2 years agoADHD diagnostic in 3, 2, 1…
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•This happens after 3-4 days of running the server, then I have to restart it manually.English
36·2 years agoSet watchdog to reboot every day and juice it until the last drop before it definetly crashes.
Edit: that’s just a workaround if you really want try to fix it my answer would be restoring BIOS defaults, then clean install of the OS and then check it everything works fine, if the error persist try installing another OS if it still fail then go to the first step.
My humble POV it’s to stick with whatever do the work.
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•How to make my server reachableEnglish
15·2 years ago
- TheBigBrother@lemmy.worldBannedOPto
Selfhosted@lemmy.world•What's the bang for the buck go to setup for AI image generation and LLM models?English
32·2 years agodeleted by creator
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Why do so many people use NGINX?English
25·2 years agoYou want to access your server under CG-NAT from the outside or what is the point??
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Suggestion for buying driveEnglish
22·2 years agoI have bought several used hardware at local marketplaces which are working like a charm, it depends if you know about what are you looking for when you buy.
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Suggestion for buying driveEnglish
13·2 years agoMy recommendation would be buying a used HDD at a local online marketplace, if you want bang for the buck, if you don’t, then buy a SSD from AliExpress(important to check reviews)
I do, worked fine for like a year and then suddenly started having stability problems, maybe there is a problem with the config of my cloud servers but idk.
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Can't use Crunchyroll via WireGuardEnglish
211·2 years agoYeah I mean, are you using the same DNS resolver in the server and client?
- TheBigBrother@lemmy.worldBannedto
Selfhosted@lemmy.world•Can't use Crunchyroll via WireGuardEnglish
410·2 years agoMaybe DNS problem?
- TheBigBrother@lemmy.worldBannedOPto
Selfhosted@lemmy.world•Is it possible to run a LLM on a mini-pc like the GMKtec K8 and K9?English
111·2 years agoNot exactly if you have relevant information reach me a PM and we can accord an agreement…
Edit: nevermind found the answer by myself anyway good luck!!
- TheBigBrother@lemmy.worldBannedOPto
Selfhosted@lemmy.world•Is it possible to run a LLM on a mini-pc like the GMKtec K8 and K9?English
112·2 years agoI believe it depends on exactly what you define as a “good” person…
- TheBigBrother@lemmy.worldBannedOPto
Selfhosted@lemmy.world•Is it possible to run a LLM on a mini-pc like the GMKtec K8 and K9?English
112·2 years agoIsn’t fraud in my jurisdiction…
- TheBigBrother@lemmy.worldBannedOPto
Selfhosted@lemmy.world•Is it possible to run a LLM on a mini-pc like the GMKtec K8 and K9?English
111·2 years agoMy friend used to employ several people for that, but they started using AI to work less so he decided to start doing by his own with AI instead of paying someone else to do the same.
Elaborate please.