Is it bad to keep my host machines to be on for like 3 months? With no down time?
What is the recommend? What do you do?
Never.
wait, they shut off? who knew.
I had one Linux server that was up for over 500 days. It would have been up longer but I was organizing some cables and accidentally unplugged it.
Where I worked as a developer we had Sun Solaris servers as desktops to do my dev work on. I would just leave it on even during the weekends and vacations, it also had our backup webserver on it so we just let to run 100%. One day the sys admin said you may want to reboot your computer, it’s been over 600 days. 😆 I guess he didn’t have to reboot after patching all that time and I didn’t have any issues with it.
Prod environments typically don’t have downtime. Save for patching every quarter that requires a host reboot.
Sometimes I don’t need all the things running so I’ll kill a few pi’s and disks
I keep the stuff running 24/7, barely once a year for cleanup pretty much / upgrades or whatever. Don’t mind me I still got to get a UPS for when the electricity goes down which it hasn’t happen in the past years
You don’t (and generally shouldn’t) reboot servers. People got this idea that PCs needed to be rebooted because Windows is trash and becomes more unstable the longer it runs. Server OS’s dont have this problem.
It kind of also depends on the OS. And before the comments start; As with anything, situation & a bit of luck go a long way.
But Linux based machines can be left enabled for months, some times even years. Windows I Honestly wouldn’t trust beyond a few months and even that would seem too much for my own taste.
I reboot my systems monthly most of the time, usually paired with updates. But my main host is Windows serv, which gets daily reboots (power savings, I don’t need it on when I sleep), and the VMs on that are frozen & unfrozen so they are on for about a month or more until I do the above.
I have built a UPS with 200AH 12V battery with inverter charger for RV. It never fails with power so it runs like for months until I decided to put something in… let’s see
Only if I need to move it or upgrade the components, and that happens maybe once a year, if not less.
If it weren’t for that and power outages, they would have been on for 5+ years.
I don’t ever shut them down “just because why not”.
You’re rebooting them for update right?
right?
Fairly frequently,but no real schedule. 3wks-3months, whenever I get some time to update without it being a problem. Primarily for patching & new kernels reasons but has caught the odd disk issue where btrfs was struggling and I didn’t catch when running.
3 months? i’ve had linux systems up for 3 years haha
Only when I type “shutdown” on the wrong console window… New hardware or need to fix something.
So that’s pretty rare 😂
When do I shut down?
- When the power goes out and my UPS battery drains.
- When I do a hardware upgrade.
- If I want to rearrange equipment, and also when I moved this past summer.
That’s seriously about it.