I only restart for kernel updates. I put my PC to sleep when I'm not using it.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Only a few days, maybe 12 if I had to guess. Im running with memory overcommit disabled and building a rust project with vscode and Firefox open will hang the kernel eventually. I caved to the kernel's expectations and set up a swap partition but it still dies.
I should say it's been on for probably 2 years straight ignoring reboots
I never turn it off it gets an occasional reset when updates need to be installed but that's about it
Y'all it takes like 15 seconds to boot from an SSD why are you leaving your computers on?
because I can KVM from one computer to another in under 1 second and I dont feel like adding 14 to that. Plus Folding@Home.
Because they're processing data all the time? They're doing work?
i turn my pc off when im not using it to save power; i thought this was normal.
My work laptop has been up for 26 days, 17:24. My primary server at home has been online for 42 days, 21:27. Personal laptop - 45 days, 20:51. The primary server of my exocortex has been online and crunching away for 278 days, 19:48.
I generally only reboot for stuff like kernel updates.
I think my desktop has been on the past couple days because I've been too lazy to turn it off because I caught the flu and basically slept the past couple days away.
Server is rebooted, as needed, for updates. I think it just got a kernel update two weeks ago, so it probably only has ~14 days of uptime.
My desktop and laptop are shut down when not in use. Leaving them on when not in use is pointless.
Never understood obsessions with "uptime". If you have high numbers for uptime, you're a bad sysadmin/maintainer of your hardware unless the appliance is purpose-built to be always up and air gapped.
Exactly. I have services running with staggered automated updates/reboots to keep things stable. Since at least one of them is always available, it's like having no down-time but with actual stability and redundancy.
When I had big desktop and all, it was running for days/months. Now, I have a miniPC and I start it up Monday morning and shut if down Friday afternoon.
0 hours.
It is currently off because I don't leave it running overnight when I am not using it.
It's off right now.
Also, inxi? Better use uptime
, that command is actually available on all systems and literally exists to check uptime.
uptime -p
for a human-readable format. Here's mine on my Hetzner VPS:
root@snapshot-199288474-ubuntu-16gb-hel1-1:~# uptime -p
up 8 weeks, 6 days, 8 minutes
PC != server.
Why do you think it's different?
A server needs to be available, a PC doesn't. As long as your PC is not serving something 24/7.
Are you telling that to others or me?
I think you should tell that to others
There is no benefit in letting your PC run for days, its just waste of energy and bad behaviour.
When you hibernate, "uptime" counts it even though the computer is off, as it's more of a "time since cold boot".
So I turn off my computer every day, but have an uptime of weeks now.
Nice, so you are turning off your computer and pad your "uptime". clap
I'm just explaining how people end up with high uptimes despite not keeping their computer on all the time. There is no purpose to "padding your uptime".
I don't run any servers and leccy is expensive, they go off when I'm done using them!
Usually only as long as I play games. After that, I shut it off. Why?
- I run Bazzite, which updates itself in the background, but needs a restart to complete
- It boots in seconds, because modern hard drives are crazy fast
- The standby-LED is annoying when I sleep
My laptop is usually on for a week, but I restart it from time to time, for the same reasons, and because devices need some sleep too! 😴
I cold-boot daily because fucking nvidia 👺
I can go weeks without rebooting if I want to Using a gtx 1080Ti with it. No idea why so many folks still have these big issues. Some minor issues sure.
seriously how do you guys all have Nvidia issues this is a gtx 1660 super
I was wondering that, too. I've got a pair of GTX 1660 Supers in Leandra running a simulation, and they've been crunching away for nine days now.
Doesn't seem to matter what I do, the card simply refuses to go to sleep. And there's no option to switch it off in the bios 😭
23m,Short ik.
My laptop gets shut down every night, booted every morning. If I suspend it sometimes spontaneously wakes later, but boot is so fast anyway so it’s fine.
My server gets updated and rebooted weekly. I don’t bother checking CVE bulletins, I just upgrade weekly.
7 days currently, 30 days on the previous boot. I had to open it up to install extra drives.
That was my family's email server 5 months ago:
So roughly 2500 days today 🙂
At last, a fellow sysadmin! Nice work.
As AOL guy once said
"You got mail"
Damnn what an uptime! Cheer to that!
i've been shutting down linux desktops most every day lately, and turning them on only when i want to use one.
There was a period where I was testing my laptop's hibernation so I got uptime to around 30 days.
But now, The highest uptime I can reach is around 2-3 days if I forget to turn it off and leave it either plugged in or on a high battery so it lasts until the next day.
About 90 mins. I shut it down when i finish every and turn it off at the wall (fuskibg standby LEDs). I can go days without booting it back up. I use #LMDE
I'm convinced the reason all my drives used to fail is because I would leave the PC on, and only reboot for updates. Otherwise I would just put them to sleep. Three years later, I turn off the PC every night and haven't had a failed drive since.
22:57:20 up 70 days, 16:04, 21 users, load average: 1.10, 1.14, 1.02
Honestly if you were expecting a drive failure in three years, you probably have some other problem. The SSD in my desktop is clocking 7.3 years and I never shut down my machines except to reboot. On my servers, I have run used HDDs from ebay for up to ten years (only retired for upgrades). My NAS is currently running a mixture of used drives from Ebay and some refurbs from Amazon, and I don't anticipate seeing any issues for at least a few more years.
53 min
On any command line you can likely just run a single letter command: w
I always shut it down every night, so usually not much more than 12 hours at best.