You can actually turn the lid off and run the server 24/7 without worrying if you're using debian distro. There's a way to make it never sleep when the lid is closed.
Laptop screens, when closed, block a lot of thermal venting, especially when the laptop is an older model, like shown in the OP. Result? The already poor performance will become poorer still, because of throttling.
Depends on the laptop. This doesn't apply for all laptops. And 99% of them have their own duct in for the fan and duct out on the side or rear. Having the lid closed doesn't prevent air from getting in.
Plus this is a home lab, meaning the laptop is idling 99% of the time, probably the fan is not even spinning.
There are laptops, like my X390 Yoga, where the keyboard is air tied compared to the motherboard, so that if you spill liquids they don't get into the motherboard, in situations like mine, having the lid open would make 0 difference. So depends, but for experience, generally doesn't make a difference.
Mine doesn't blow the exhaust out, but it does radiate heat out from the keyboard. Even if the lid is mostly closed he gets hotter than hell. Then again, this is why I'm going to make myself a server cabinet to lock the laptop and server in to avoid issues.
some of them will overheat - I typically remove the display on the laptops i've used as servers. - it's usually *SUPER* easy. you just pop it open, unplug all the wires that go to the display module, and unscrew the display module from the hinge. - then you've got a proper headless server - typically storing away the display module in a closet or a high shelf, often in a towel or something, until it's needed again, along with it's screws in a small ziplock.
Back in 2000, I worked for Disney for a bit, managing websites for a bunch of TV shows. One day, all the message boards went down. We did all this troubleshooting and couldn't find the cause.
Turns out the message board server was just a random server on some random desk in the office at Sunnyvale. When a new hire took the desk, no one told her about the server and its function. To her, it was just some random computer in her space. She found the noise distracting, so she turned it off.
I've always wondered for people who use a spare laptop as a server. How long can it be plugged in before it runs into battery issues? Are we talking about a few months? A few years? Or randomly at no predefined time interval?
I use an old thinkpad and I removed the internal battery completely. Not worth it to come home to a burnt down house if it were to explode lol.
I also went and edited one of the files in my Ubuntu server install that allows me to close the lid and now the laptop just sits there running full time behind my tv stand lol
I just remote on from my main computer whenever I need to do anything
My father-in-law once told me that he had talked to a colleague about the danger of lithium batteries, and that my girlfriend and I had to pay attention.
I pointed out to him that their laptops have been permanently plugged in since 2019 because the battery was dead
He wanted me to be careful while making no effort on his part
I believe this risk to be hugely overblown and would consider the fire hazard by a machine with closed lit higher than that of an okayish battery pack and open lit sitting there for 10+ years.
Depends on your laptop battery. If it's some kind of 18650 liion battery, you can. But if your battery type of flat cells, it's better to took them off
I had an old MSI laptop plugged in and running 24/7. It had no battery issues at all. As long as it was plugged in. I did have to restart it once in a while.
Depends on the laptop. Some have property battery management. My work is getting some laptops back with battery discharge cycles in the double digits because they were work from home units only. Some of them are in excellent condition.
Other laptops, the batteries just float charge and after being plugged in for years are toast.
I don't think it's that problematic with modern machine. In my experience most of older machines that were used for this purpose would have had problematic battery anyway. I think what ruined the battery the most was drawing huge power from the battery WHILE it was charged. Fully charged machine would just draw its current from the wall socket.
You remove the battery. Some people don't but that's a stupid move.
EDIT: I should say if it's an ancient laptop you remove the battery. New ones don't really have that kind of risk that should be avoided. But those old ass laptops are the best servers. Cheap, run linux perfectly, and also cheap (so good I said it twice).
I've been using it for over a year now, and I haven't witnessed any battery issues or any other possible issue we can think of. It's working great. Before using it as a server, I upgraded its storage to a 2TB hard drive and 16GB of RAM, and I also undervolted my CPU for maximum efficiency. If there is a power cut — currently it is running a Minecraft server, some Docker containers with Kubernetes and Jellyfin inside it, along with some of my other personal stuff. I like to restore old applications and preserve them. It already has more than 800GB of data in it. I'm also thinking of adding a Mac Mini, or if my budget increases, a DGX Spark for a local AI to run my Home Assistant and all.
Why not disable lid functions?? I have a laptop in my rack with lid functions disabled running proxmox as the tie breaker plus running some light services. It sits in my server rack and just chills
I have a 2015 vintage laptop that I've been using as a desktop - plugged in 24/7 and running almost 24/7 - for three or four years and it's fine - even the battery appears to be healthy.
118
u/codear 3d ago
Where's your Ethernet cable, server?
9
u/Awkward-Flan6379 2d ago
You can actually turn the lid off and run the server 24/7 without worrying if you're using debian distro. There's a way to make it never sleep when the lid is closed.
4
u/fi33zie 3d ago
Ok, server.
3
u/frostyflakes1 3d ago
Is this a Lenovo Y510p or some variant? I had this same laptop. My first gaming computer. Had two 750Ms running in SLI. Good times.
3
u/IlTossico 1d ago
You can close the lid and have it working. Probably better.
185
u/SleepyKoalas23 3d ago
We all did this once until you remember there's an option to keep the laptop on even when the screen is closed. Then you feel like a god.
23
u/VegetarianZombie74 3d ago
Back in 2000, I worked for Disney for a bit, managing websites for a bunch of TV shows. One day, all the message boards went down. We did all this troubleshooting and couldn't find the cause.
Turns out the message board server was just a random server on some random desk in the office at Sunnyvale. When a new hire took the desk, no one told her about the server and its function. To her, it was just some random computer in her space. She found the noise distracting, so she turned it off.
13
u/HugsAllCats 3d ago
That's exactly what a non-server would say.
7
u/Jeff_B_83 2d ago
Should change the power settings to do nothing when screen is closed. That way it stays turned on even when the lid is closed
16
u/V3semir 3d ago
5
u/devzwf 3d ago
/etc/systemd/logind.conf1
u/rob417 3d ago
I've always wondered for people who use a spare laptop as a server. How long can it be plugged in before it runs into battery issues? Are we talking about a few months? A few years? Or randomly at no predefined time interval?
2
u/LA_Nail_Clippers 3d ago
Hey kids, I'm a computer. Stop all the downloading.
2
u/onkelFungus 3d ago
Still true for Apple notebooks without an external display connected
2
u/Brooklyn030 2d ago
Why not disable lid functions?? I have a laptop in my rack with lid functions disabled running proxmox as the tie breaker plus running some light services. It sits in my server rack and just chills
2
u/wrd83 3d ago
He probably didnt find the setting for close lid -> do nothing
1
u/_keyboard-bastard_ 3d ago
I had one of these on my desk in the office around 2014 running my on-prem helpdesk.
1
u/rilesmcjiles 3d ago
Server Steve
1
u/stinger32 3d ago
I was able to disable the lid or whatever feature it is on my razor. No luck with yours? Congrats!!
1
u/Vegetable_Flounder12 3d ago
wow, sitting on carpet , good luck with sucking in all that nice fibers/fluff. doubles as a vacuum cleaner.
1
u/mrAshpool 3d ago
Add a "don't step on me", with the rattlesnake
1
u/Tony1Rice 2d ago
I have a 2015 vintage laptop that I've been using as a desktop - plugged in 24/7 and running almost 24/7 - for three or four years and it's fine - even the battery appears to be healthy.
1
u/_angh_ 2d ago
Your server... Right? Nice karma farming: https://www.reddit.com/r/ProgrammerHumor/s/x2QrGMC6Zp https://www.reddit.com/r/selfhosted/comments/1s9ocx3/im_a_server/ And many, many more...
1
u/Fair-Promise4552 2d ago
you can disable the lid... and then put it into your shelf like a book to expose the fan intake.... nice server btw
1
u/No_Suit7363 2d ago
My first always on Plex server was like this. Good times.
1
u/Daniel18sep 1d ago
Can't disable the lid sensor?Â