50

Nowadays with our modern operating systems, is it necessary to fully shutdown computers instead of choosing to stand-by or hibernate computers (desktops and laptops)?

Would there be any side-effects of keeping a computer running continuously without a shutdown (putting it to sleep or hibernating it when it is not used)? For example, hard drive life decrease, system internals (Processors, RAM etc.) aging faster than usual, etc?

19 Answers 19

61

From a software perspective, an operating system and the programs you run on it tend to accumulate all sorts of cruft over extended periods of use - temporary files, disk caches, page files, open file descriptors, pipes, sockets, zombie processes, memory leaks, etc. etc. etc. All that stuff can slow down the computer, but it all goes away when you shut down or restart the system. So shutting down your computer every once in a while - and I do mean actually shutting down, not just hibernating or putting it to sleep - can give it a "fresh start" of sorts and make it seem nice and zippy again.

However, different computers and OS's are not all equally affected by this phenomenon. Generally, a computer with a lot of RAM can go for much longer than a computer with only a little RAM. A server, on which you just start up a few programs and then let them work, will be fine for much longer than a desktop computer, where you're constantly opening and closing different programs and doing different things with them. Plus, server operating systems are optimized for long-term use. It's also been said that Linux and Mac OS tend to run for longer than Windows systems, although in my experience that mostly depends on what programs you use on them, and not so much on any differences between the kernels of the operating systems themselves.

From a hardware perspective, hard drives, because they have moving parts, will age when they are kept powered on. Silicon chips age with heat and power on cycles. Even though the operating system will run without a problem, the hardware will age when left on and when initially powered on.

11
  • 19
    I heard bare-bones Windows'95 was rock-stable for months of uptime... especially with no other programs running.
    – chronos
    Aug 23, 2010 at 11:22
  • 14
    @Chronos: That comment may be too subtle for people that never experienced Win95 first-hand. :-)
    – hotei
    Aug 23, 2010 at 11:34
  • 20
    Windows95 famously couldn't run for more than 49days because of a wrap around in a timer - but nobody ever discovered this! Aug 24, 2010 at 1:43
  • 9
    95 && 98. Download the patch and keep on kicking: support.microsoft.com/kb/216641 :)
    – user1931
    Aug 24, 2010 at 2:25
  • 4
    @JFW - I think it was more a case of no win95 machine stayed up for 49 days because of other problems, or the fact that MS required you to reboot everytime you changed anything. Aug 24, 2010 at 15:07
22

The most obvious effect of leaving a computer running rather than shutting down can be seen in the electric bill. A computer will still draw power while in sleep mode (significantly less than when running), but if it's in hibernate mode it won't draw any more power than when it's off.

9
  • 4
    +1 I switch my desktop off when not in use (for longer periods, such as overnight or if I'm going to work/shop/etc) and then switch of the surge protector it, and all the peripherals, are connected to. It doesn't even drain the (admittedly tiny) power it would when off this way (neither do the screen, speakers, printer, etc).
    – DMA57361
    Aug 23, 2010 at 8:15
  • 2
    Me, too. For people, who don't switch off unused computers or TVs, energy obviously is (still) too cheap.
    – Mike L.
    Aug 23, 2010 at 9:01
  • 3
    Well a computer in stanby (sleep) will only use 10% of it's power-on fully idle consumption. Hibernate is the same as shutdown, where only a few components receive minuscule amounts of power (usually motherboard, maybe NIC). The difference between sleep and powered-on is massive yet the wake time is only a few seconds, so always put the computer into sleep when not using it. Aug 23, 2010 at 10:08
  • 4
    @iconiK It might be minuscule drain, but if I disconnect 10-15 objects accross my home it's quite a bit over a year, and it's not just mobo & NIC when "off", there's your screen and anything with an external power-pack draining as well. Also, do you really need your computer to switch on and be ready within 5s? I tend to switch mine on, go and make a cuppa, and then it's ready to use when I get back to my desk.
    – DMA57361
    Aug 23, 2010 at 10:40
  • 8
    @iconiK But you only need to boot the machine once per work day. And, the first 2minutes from an 8hour work day is hardly much of a waste (incidentally "several minutes" to boot up is appauling slow). Over the course of a working day I'm away from my desk much longer than 2mins from just a few loo breaks and to get a few cups of tea. And lets not compare it to the time people can waste on SO or SU! ;)
    – DMA57361
    Aug 23, 2010 at 11:09
13

Other than the energy uses mentioned, further disadvantages of running your computer continously (i.e. not on standby) when not using are:

  • Fans get clogged up with more dust which can eventually cause overheating
  • More risk of power cuts/surges that can potentially do damage (mainly to desktops). This might still be a problem if it is on standby though.
  • Computer may be more vulnerable to remote attacks if you happen to have unpatched/susceptible software and an inadequate firewall. Of course you want to make sure that your computer does not have this problem regardless of how much you use it.

Advantages:

  • Less heat up/cool down cycles that eventually damage certain components
5
  • 1
    Would using a PSU in the build stop the power cut/surge problems? What would happen to the desktop if the electricity cuts/surges? Damages to the filesystem/HD or also other interior parts too?
    – JFW
    Aug 23, 2010 at 11:21
  • 2
    RE you're first sentence: You have to use a PSU (Power Supply Unit) in a desktop, it's not optional - it's what steps down the mains voltage for your components, are you maybe thinking of UPS (Uninteruptable Power Supply)? In a power surge most(all?) PSU's will not help much - if they cannot absorb the extra voltage they may blow, pass the surge on to your components or possibly both. And power cuts are less of a concern now compared to the past (and a PSU won't help here) - but you can still loose data and/or corrupt files (but it's much less common than in "the old days").
    – DMA57361
    Aug 23, 2010 at 12:05
  • My apologies-Wrong term. UPS, I meant. Would an UPS stem the problem of the risk of power cuts/surges?
    – JFW
    Aug 23, 2010 at 12:19
  • 1
    A UPS is designed to handle power cuts - it provides a backup battery for a short period (sometimes only minutes) to allow the desktop to be shutdown correctly. Some UPSs will automatically send a signal to an attached PC and give a shutdown order when the battery is low (much like a laptop does). Most UPSs should also help with surges, sags and spikes - but check what a device covers before purchase.
    – DMA57361
    Aug 23, 2010 at 12:29
  • -1: This is not related to the question. The question clearly asks about the difference between shutting down and going to standby/hibernate.
    – intuited
    Dec 21, 2010 at 8:33
7

All components like HDD, DVD-ROM's have a rated MTTF defined i.e number of spinning hours before failure, make sure you check the ratings for accurate figures. Most laptop HDD's used have thousands of spin down cycles before they die down.

As with all mechanical devices, more number of power down cycles causes more wear and tear than keeping it actually running all the time.

9
  • 3
    Your last paragraph: do you also keep your car running?
    – Mike L.
    Aug 23, 2010 at 9:00
  • 2
    @panzerschreck: Under many situations power management causes hard disks to park heads or spin down completely when the PC is on but idle. This itself causes wear eventually.
    – James P
    Aug 23, 2010 at 9:59
  • 1
    this is why you set power management to not do that.
    – Sirex
    Aug 23, 2010 at 10:28
  • 4
    and then instead of power cycle's causing problems you have constant mechanical wear causing problems. So, the real question is - which is more likely to cause breakdown? Do we have any stats or research on this?
    – DMA57361
    Aug 23, 2010 at 10:46
  • 2
    It should be noted that the disk parks the read/write head partly to protect against shocks so it is normally a good thing and more common on laptop drives.
    – James P
    Aug 23, 2010 at 12:28
5

This question comes up a lot. My take on it is "it doesn't matter". Shut it down if you feel compelled. Leave it on if you want to. Personally I use suspend a lot.

5
  • Is suspend the same as hibernate?
    – JFW
    Aug 23, 2010 at 4:05
  • 1
    Yes, suspend is a synonym for hibernate. Aug 23, 2010 at 7:39
  • 14
    Depends on the system. On XP, for instance, suspend saves all the state to RAM, and leaves the computer powered on at a very low power. When you leave suspend mode, the cpu state is copied from the RAM. Hibernate, on the other hand, saves the contents of the memory to disk and actually powers down the system so that you can even unplug it. When you turn it back on, instead of booting the OS, it restores it from the disk. Aug 23, 2010 at 8:08
  • 1
    Yes, of course-Different OS has different terminology for basically the same actions. For Mac, stand-by is sleep, while hibernate is deep-sleep.
    – JFW
    Aug 23, 2010 at 11:18
  • 2
    @torbengb: On Ubuntu (Linux) they're different. Suspend -> RAM. Hibernate -> Disk. Suspend recovers almost instantly which I why I prefer it most of the time. +1 to Nathans explanation why.
    – hotei
    Aug 23, 2010 at 11:36
3

It depends. In general, you don't need to. You're likely to replace the system before you reach the lifespan of the components.

However, there are a few differences between the modes that can be important. Power-on and often suspend (power-on suspend, with small voltages keeping the RAM fresh) both still draw power from the PSU and the wall. In a thunder storm, hibernate (power-off suspend, with RAM saved to disk) or power-off offer more protection from shocks (and you can unplug the system).

In addition, power supplies tend to have the shortest lifespan of any part of a system, besides maybe fans. Guess what two of the parts that usually stay on when you suspend your system are?

Now, your power-management settings do change the question a lot. If you have it set to a very low-power mode, then it becomes less of an issue. Higher power modes, or keeping the screen or drives on, and it's a better idea to shut it off.

Is it necessary? No. Is it a good idea sometimes? Yeah.

10
  • 2
    Indications tend to be the computer not starting, or starting and shutting down half a second later. The PSU converts wall power to computer-friendly current and voltages, so it's pretty important. Luckily, it's also pretty easy to replace. As far as affecting other parts, it can if it catastrophically fails. I had one spontaneously blow out complete with sparks and smoke, and while it was quite the light show, it burned out the motherboard, processor and 3 of the 4 sticks of RAM in the process. That's not too common, usually they die quietly and your system just won't start.
    – ssube
    Aug 23, 2010 at 4:57
  • 1
    I have had numerous (> 10) power supplies fail over the years and I've never lost anything but the PSU in the process. The quality of the PSU is important. I replace OEM PSUs with Antec now and have had 0 failures in last 10 years or so. Your mileage may vary.
    – hotei
    Aug 23, 2010 at 11:29
  • 1
    @hotei Ouch, over 10 failures? I hope you work with lots of machines! @JFW I've had a PSU blow on my home desktop a long time ago, which took out several components - my own fault, it was fairly cheap and I think I overloaded it - and I've since been told (not verified!) that a buzzing sound from a PSU (especially if the PC is off) is a sign that the PSU if on it's way out - can anyone confirm he accuracy of this?
    – DMA57361
    Aug 23, 2010 at 11:50
  • 1
    @DMA57361: That's 10 fails over 30 years and maybe 50 or 60 different machines. I also started using UPS on everything and that probably helped as well. It was cheaper to overbuild with PSU and UPS than to chance the loss of our business data. PS: A continual (non-fan) buzzing is the sound of impending doom. Failure is right around the corner - usually accompanied by an acrid odor from PSU.
    – hotei
    Aug 23, 2010 at 14:11
  • 1
    @JFW - I haven't bought many (clearly no where near as many as hotei!) to be confident in giving a recommendation, but both Antec and Corsair are both reputable. And, @hotei, thanks for confirming that electrical buzz from a PSU is a serious warning.
    – DMA57361
    Aug 23, 2010 at 14:25
2

I use hibernate if I'm going away from my computer for an extended period of time (instead of shutdown). I use sleep mode if I'm just leaving it for a little bit (to save some power instead of just letting it run).

3
  • While doing this, do you experience any slowdowns when doing this everyday without shutting down? (Just interested if there is any slow downs with this implementation.)
    – JFW
    Aug 24, 2010 at 11:15
  • 1
    No slowdowns. I'm a fairly heavy user, using lots of resource intensive apps, and don't have any issues like that. XP and Vista SP1 just don't have that issue. Other than non-SP Vista, I haven't seen slowdowns due to time "up" since Windows ME. It just doesn't happen anymore. Aug 25, 2010 at 11:39
  • That sounds great then. :) Thanks for your reply!
    – JFW
    Aug 25, 2010 at 12:17
2

This is a little different take on your question: I'm looking more at the "Should I shut down properly vs can I just cut the power?" question:

I can't find the reference now, but I remember reading an article back in 2003 about a large company where the IT department had done an internal study: they took two very similar departments and taught one of them to always carefully shut down the PC when the left of the day for security reasons. This was strictly enforced. The other department was instructed to leave them running under the ruse that IT wanted to be able to connect remotely for maintenance. Again, this was strictly enforced, and they would then kill the power to the machines each night. This went on for a year, and support costs for each department were tracked.

The result of the study was there was no measurable difference in support costs for the two departments between those that shut down the computers correctly, those that just powered them off without shutting down, or either department compared to the year prior.

But what does that really mean? I know there's at least one problem with the methodology — there should have been a third department tracked that was allowed to do as it pleased for a control, and perhaps another department where machines were kept running as much as possible.

We also need to be careful not to draw the conclusion that this means it won't ever cause a problem with your machine; it's very possible that powering off the computers without shutting down did break a few machines in the study, but this either did not measure statistically for the support costs (maybe it's more likely to happen near the end of a PC's replacement cycle, for example, which reduces perceived cost) or is offset over many PCs by something like wear incurred while shutting down properly. Also, PCs from 2001-2002 and prior (when the study would have been conducted) are different from those built today.


As for the question as asked: I usually leave my work desktop turned on. I like being able to pick up in the morning right where I left off the night before. I do something similar with my home desktop. My laptop, though, I try to remember to shut down much more often. Additionally, I like to make sure I shut down when leaving the office for the weekend on Fridays.

For the servers I manage where I work (about 13, hoping to consolidate to 6 via VMs in the next year, 3 or 4 the year after), I have a maintenance cycle scheduled every month where I can restart them if I want. Most months every server is re-started, but sometimes I'll decide not to interrupt them. My maintenance cycle comes over the weekend on first weekend following Microsoft's monthly Patch Tuesday.

1
  • I bet they used a journaling filesystem like NTFS. FAT32 gets corrupted when it loses power during a write. Jul 16, 2013 at 8:23
2

There are about a hundred different ways to answer this question and so far everyone is telling you the same thing. It really doesn't matter anymore - there are a lot of people out there that still believe this old wives' tale (you must shut down at end of the day). Whatever. I have a client with a server that has been in continuous operation since the day I installed it 6 1/2 years ago without ever shutting down except for maintenance & updates. I shut down my PCs at home just to save electricity because I'm a cheapass and I am saving the planet. With today's advancements in technology it is not necessary to shut down / power down / sleep / or anything else. It is a matter of taste now.

1
  • But again with today's advancements in technology isn't it no longer necessary to shut down as the electricity used by the computer negligible compared to the overall power usage of the house and all the electronic utilities? (Fridge, dish washer, ...) Especially if parts like WD's Caviar Green drives use less electricity compared to other drives.
    – JFW
    Aug 24, 2010 at 11:01
2

If your machine is encrypted, there are hacks / tools which can extract keys from memory (if you have suspended they get put back into RAM when the machine is fired up).

These can then be used to decrypt a copy of your drive. Done right, this is all done offline and you may not even be aware (if you have left your machine unattended, eg overnight while the cleaning crew are in.

Shutting down an encrypted machine is the surefire way to prevent such attacks.

1
  • Rule #1 of security, if an attacker has physical access to your machine ... it's not your machine any more. Jan 7, 2013 at 20:28
1

I have a MacBook that's about 3 years old now. I probably do everything 'wrong' but, it has not failed me yet. I wanted to share my experience with my habits. I rarely shut down. I will always shut down or at least unplug (if I'm working) during a thunderstorm. I use sleep mode. My laptop is plugged in the majority of the time. During these last 3 years, I have not yet experienced any system slowness, decreased battery capability or any other problems. I know that some people experience adverse effects when doing what I do but, it's worked for me. I am also "one of those people" that plugs their smartphone up to recharge every night whether it needs it or not. Still, no ill effects there either.

2
  • Ahh... That's quite interesting-I'd like to also know if you keep your MacBook's battery always plugged in; There are people who say that plugging your laptop in as much as possible would be good for the battery, while other people say that unplugging and replugging when the battery is at ~5% would be more beneficial for the battery as the electrons/ions inside would move around more then being constantly charged and unmoving, causing the laptop to lose charge.
    – JFW
    Aug 24, 2010 at 11:08
  • @JFW - If you use your Macbook and you are working with it close to a power socket you should absolutely have it plugged it. Why make the battery go through more charging cycles when it doesnt have to or work on reduced power. This is part of answer i posted from apple.stackexchange.com/questions/73564/…
    – Simon
    Dec 18, 2012 at 12:58
1

No one can really give you an answer to this one (It would be like predicting the future, no?) so all one can give is his own experience, which in my case would be this.

The machine I'm writing this on is a laptop - the last time it was reset/shutdown was 16.7.2010. (a little more than a month - guess I installed something that needed a restart back then); otherwise from that occasional restart it has been running for about two years now on a wooden table (big wooden table :), no special cooling or anything. A few times a month I put it in standby, or hibernation (more often standby), but that doesn't exceed more than, I don't know, few (5 ?) days a month.

Other times it usually stays on, doing its stuff.

Maybe one day it will die, no one can tell. So far it's been working just fine.

Generally, I've been using this approach from the late 80' ties - components in general die very rarely on me.

1

I have a computer that has been running since 2001. It controls my Dodge Neon.

1
  • @MarkJohnson - They make a battery backup to preserve the onboard computer data and the all important radio station presets when changing a battery Jan 7, 2013 at 20:39
1

This is a very old question ... debated over and over and over. The real answer always tends to be "depends on what you are planning on doing" ... if you have no need to keep the PC on then use one of the power-saver modes: sleep, hibernate, suspend or shut down. If you plan remote access, wake on LAN, etc then you need a less green approach ... modified sleep or left on (with settings for shutting off display, drives, etc set according ot your needs).

Most modern operating systems have facilities for cleaning RAM, swap files, etc ... but David Zaslavsky's response is spot-on ... performance will definitely get a boost by a complete shutdown on a regular basis. Even the best-written software can have memory leaks, lost pointers, etc. Also, many graphics cards share core memory ... and those are far less adept at keeping their memory kernels clean and tidy!

Although pretty robust these days, the hardest function of a hard drive is starting up and shutting down ... so be careful with those sleep and hybernate settings ... they can repeatedly wake up the hard drive(s) if your not careful.

Personnaly, I shut my computers down ... all the way. No need to keep the juice flowing when I'm not home ... and, using Windows 7, the PCs start up in a flash.

I have a feeling your question will never be definitively answered ... the chicken-or-the-egg quandry of the PC world!

1

I don't want to shutdown, but thing is I use ubuntu, and If I wont shutdown it properly , it will be messed up , as it was installed on top of NTFS

1

It really depends on preference. The facts are simple. Leaving a computer running will put more usage hours on the hardware, which will shorten the hardware's lifespan. Leaving the computer running also generates heat and uses electricity. Are there cases when leaving a computer running is ok? Of course! Many people use the time they are away from their computer to schedule resource-intensive tasks like A/V scans and media transcodes. Personally, I change my habits based on need. Most of the time, my machine runs 24/7 with reboots as needed for security updates. During the hottest part of summer (I live in AZ), I turn it off when I go to work unless I have a workload that needs done. Software-wise you can easily leave a system running for weeks or months without any noteable issues. In the end, it comes down to what you want :)

1

A lot of answers to this question, but they generally miss the point - and many are based on intuition or very limited experience. Hence I am going to repeat here the answer I gave to a question that was closed as a duplicate of this one. As you can see, my answer is not based on "gut feel" or serial experience with a few computers.

There are two main issues to consider:

  1. Hardware wear & tear
  2. Operating system stamina

Let's leave aside the electrical costs (both directly involved in running the PC and ancillary costs like air conditioning to compensate for the heat generated). Computers today are fairly energy efficient and for a single computer, the impact on your electric bill is nil.

Hardware wear & tear

The greatest stress that happens to a computer system is cycling the power on and off. I used to manage an IT department that was responsible for 2500 computers. Whenever we had a power outage, whether planned or unplanned, we lost several hard drives and other components (e.g., power supplies and motherboards). In terms of overall percentages it was fairly low (<1%), but the critical point at which failure occurred was in powering the machines off & on. Our policy was to leave all machines running all the time. It's what I do with my machines at home, too.

Operating system stamina

Every OS has issues with memory leaks and other "stuff" that accumulates in memory and impacts its effectiveness & performance over time. The more stuff you run, the more likely you are to see a performance impact by not rebooting your computer. Every person's mileage varies, but I think it's good practice to reboot at least once a week to clean out the accumulated "clutter". Some people reboot more often, while others go for a month or more before rebooting.

Note that "reboot" does NOT mean powering off and on the computer - for that, see above. Reboot is a software only operation (e.g., under Windows it is called "Restart"

Bottom line - never turn it off - reboot as needed.

1
  • 1
    After several encounters with failing PSUs I went with this approach for my home PC. seems like treating it like a server allows it to live longer like those work computers
    – prusswan
    Aug 14, 2014 at 3:54
1

I honestly think there isn't a difference, so therefore I put mine in sleep mode. Even when the power flickers, it still wakes up. It is great for me because I can just sit down, hit my space bar, look something up, and put it back in sleep mode. Now it may not be the safest option on your harddrives or during power surges, but this is what I do.

1
  • Power flashes? ...
    – JFW
    Aug 24, 2010 at 11:10
0

At work we leave our computers on Mon-Fri, sometimes Saturday. Our servers push updates in the evenings so they need to be running.

My home PC, I can leave it on for about a month, then MS wants to reboot because of software updates. I try to limit doing them to once per month unless there's a desperate need to update right away for security reasons.

As for linux servers hosting web sites, I've had one go for 300 days and it still performed well.

In all cases, having a lot of memory helps keep it going longer. CCleaner will help clear some stuff out while the machine is still running. You can also manually close processes down yourself.

If you watch your memory usage, you'll notice when you open and close an app, not all your memory returns. Some is cleared. Some is left as cache. And some just seems that the program still retains until reboot. There's third party tools to help clear this out.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .