this post was submitted on 18 Aug 2026
214 points (96.5% liked)

Selfhosted

61594 readers
1352 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

The mouse did not survive interrogation.

Also mouse not pictured.

you are viewing a single comment's thread
view the rest of the comments
[–] Darkassassin07@lemmy.ca 49 points 3 days ago (7 children)

For a while, the windows machine I was using kept randomly becoming unresponsive (both via network, as well as the keyboard+mouse) and I just could not figure out why. Everytime it did, I'd have to force a shutdown by holding the power button until it shutoff, then press it again to start back up. Sometimes this happened while I wasn't home, so it had to just stay offline until I was.

I got sick of having to do this; so I replaced the power button with a transistor and a RPI. The PI would ping the server every 5min; if it failed to get a response 3 times in a row, it would trigger the transistor for 10sec, release for 3sec, then press and release again; forcing a poweroff then starting the machine again. It'd also write these events to a log file. I think it was around twice a week ish.

Never did figure out what the cause of the lockup was; but it stopped when I replaced windows with Debian.

[–] Unusable3151@lemmy.ml 2 points 2 days ago

I just wrote a comment about a very similar setup! Glad I wasn't the only one haha

[–] UxyIVrljPeRl@lemmy.world 16 points 3 days ago (2 children)

Had a zyxel nas that got unresponsive after 10-15days of uptime, thankfully it hat a scheduled shutdown/reboot setting. Runs since 2014 with a reboot every Mondy 3am.

[–] BartyDeCanter@piefed.social 6 points 3 days ago* (last edited 3 days ago)

I have a NAS that had a similar problem, every week or two it would stop responding. From the logs it was clear that the machine was running fine after going non-responsive, but either the NIC or something else network related was crashing. However, the logs weren’t capturing the exact issue. I wrote a script to ping Google every 10 minutes, write a bunch of debug data to disc if it failed, and then reboot.

And it has never happened in the year since. I have no idea what the root cause was, but sending those pings out seems to have fixed it.

[–] vaionko@sopuli.xyz 5 points 3 days ago (1 children)

Heh, my router is on one of those timer plug things. No matter how frozen, it will reboot.

[–] LincolnsDogFido@lemmy.zip 4 points 3 days ago

I've got an extra and don't know what to do with it. I feel like its bad to pull power unexpectedly once a week though. Especially with a single HDD storage setup. I'd like to setup a RAID config, but its a 28TB drive and additional drives would cost me about $$$$$$$.

[–] A_norny_mousse@piefed.zip 9 points 3 days ago

Never did figure out what the cause of the lockup was

the mysteries of closed-source software

[–] Septimaeus@infosec.pub 6 points 3 days ago

Note to any future lemmings who find this thread troubleshooting the same symptom…

  1. Rule out unswitched (non-chipset, direct CPU lanes) PCI connectivity and power issues by testing without specific PCI components. Unstable PCI errors can be missed during post and present later after boot, and Windows is especially bad at handling it transparently. Common culprits include GPU sag, dubious riser extensions, and anemic PSUs
  2. If there is a “high bandwidth” feature toggle for RAM in your BIOS settings that is currently on, try turning it off
  3. If your system drive is an NVMe blade with a Phizon controller, check if the manufacturer software has a firmware update available.
  4. If the freeze is regular but not persistent, try turning the polling rate down on your mouse, and if it’s wired, try to make sure it’s plugged into one of the board’s SOC-hosted USB 2.0 ports
[–] black0ut@pawb.social 6 points 3 days ago (1 children)

I also had a machine that would randomly crash on Windows, but not on Linux.

I'm pretty sure it was some sort of hardware failure, as it also sometimes failed to boot Linux. But if it booted Linux, it would be stable until I shut it down.

[–] possiblylinux127@lemmy.zip 6 points 3 days ago

Sometimes Linux handles faults better than Windows

Typically dmesg shows error when the hardware is acting up

[–] irotsoma@piefed.blahaj.zone 2 points 3 days ago

Yeah getting rid of windows solves many issues, LOL. I have always refused to run any server with windows, outside of being forced to at work. 😁

[–] waldfee@feddit.org 1 points 3 days ago

Using an RPi with a transistor almost seems professional... ITAPPMONROBOT