Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

IT Horror Stories with Jack Smith

IT Horror Stories with Jack Smith artwork

Jack's Rants - Why You Need to Reboot : Why Rebooting Your Computer Actually Fixes Problems

Aug 31, 20269 minAudioSeason 2
ShareXLinkedInFacebookWhatsAppEmail

Jack's Rants - Why You Need to Reboot: Why Rebooting Your Computer Actually Fixes Problems "Have you tried turning it off and on again ?" became an IT cliché for a reason. Rebooting clears accumulated state, resets resources, and fixes a surprising number of problems. From Unix uptime bragging rights to mainframe IPLs and Windows servers nobody is allowed to restart, every system has its own relationship with rebooting. Maybe what we really need is a reboot SLA. Want even more info? Read our show notes and related blog post related to this episode: https://blog.ithorrorstories.eu/jacks-rants-can-i-keep-your-id/ 00:00 Introduction 02:17 Developer Habits 04:01 Mainframes & Servers 06:18 Reboot Realities 08:19 Conclusion

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show. Tap a time to play from there.

Welcome to Jacks Rants, our series of smaller bonus episodes, where I discuss recent IT and security news that has popped up locally and worldwide, which might not been a material for a good episode, but nevertheless deserves a bit of insight. I am Jack Schmidt. Have you tried turning it off and on again? Of course you have. Possibly the most famous piece of IT support advice ever given. Mostly thanks to the IT card. And after nearly 20 years of people making fun of it, we have some unfortunate

news. It's actually good advice to reboot your computer. Computer. The strange thing is that computers don't actually start going wrong because they've been switched on too long. There's no little timer inside counting down towards instability. Your computer doesn't get tired, it doesn't need sleep, it doesn't need a weekend. And despite what the laptop from our shadowit episode might suggest, putting it to sleep is not the same thing. The problem is everything that's happened since IT last started. Programs have opened,

programs have closed, services has started, services have stopped, updates have been installed, drivers have done things that drivers do. Memory has been allocated, released, and occasionally not released. Network connections have appeared and disappeared. Devices have been plugged in and devices have been unplugged. Something crashed three days ago and left something else wondering. The weather is still coming back. Individually, none of this is really exciting. Collectively, your computer now has history. And history

is complicated. Reboot has one enormous it doesn't care. Just stop everything, throw away all that temporary state, start the operating system again from somewhere predictable. Now, is that sophisticated troubleshooting? No. Does it work? Annoyingly, quite often it does. And there's another reason this happens. Developers love asking computer for things. Memory, CPU time, opening a file, closing a file, a network connection, load a driver, unload the driver.

Give me a handle to this and give me another handle to that. Computers spend their entire working lives handing out resources to applications. And in a perfect world, when that application is finished, it gives everything back. Thank you very much. We done with this? You can put it back in the pool. Accept software is written by humans, so sometimes it doesn't. Sometimes something gets left allocated, doesn't close properly, keeps running, or thinks somebody else will just clean up after itself. And the operating system is not

perfect on its own. It manages quite a lot of things. And let's say it gets everything 95% right, which sounds excellent, except those 5% doesn't really disappear. It accumulates bit of memory here, open handle, there a service that didn't stop a driver in a strange state. One application that closed well, except for the part that didn't leave the system running long enough. And all those tiny leftovers can become one increasingly complicated heap of history. And that is when we reboot Unix.

People, of course, have had traditionally another approach. Don't reboot the machine, but restart the daemon, a service that misbehaves, kill it and start it again. UNIX is very good at cleaning up after a process when it dies. Which means that UNIX administrators can keep the operating system running for months, sometimes even years. And somewhere along the way, this uptime has become a competitive sport. Our server has been running for three years. Excellent. When did you last boot the new kernel? Well, there's a

difference. But of course, really serious computers don't need any of this, the mainframes, because mainframes run forever. Except there's a hidden secret in many mainframes. Mainframes do it too. Yep, those enormous machines famous for running months, years and even geological periods, never go down. Except there's little trick hiding in there. The physical mainframe can stay online while the individual partitions running the actual workload get restarted. And in plenty of environments. That's perfectly normal in the daily

operational procedure. Except it's mainframe land, and you don't call it rebooting, you call it an ipl, an initial program load, which sounds considerably more impressive until you find out what an IPL actually does. It boots the operating system. That's it. The mighty mainframe is turning it off and on again every single day. Now imagine how well your Windows server would run if you were allowed to reboot it every single day. But no, you promised five nines. And yes, scheduled maintenance doesn't really count

against your sla. That's not the problem. The problem is finding the scheduled maintenance window because, well, the server can never be rebooted. Not at 9 o', clock, people are working. Not at midnight, the overnight jobs are running. Not on Saturday because finance needs it, and not on Sunday because, well, somebody else might need it. Who? Well, nobody knows. Somebody important said this back in 2017, and that person left the company four years ago. So your actual maintenance window is very simply never. Of course,

rebooting the entire machine shouldn't always be necessary. If the application is any good, you stop the service. You start the service and the problem is solved. The operating system stays up, everybody remains happy. But unfortunately, we're usually not that lucky. Because the service stopped. Except for the bit that didn't. Or the service stopped but the driver didn't. Or the service stopped, but something depending on it, is still convinced that the old thing is still there and just won't do it. Or even better, Windows just says stopping and intends to continuing

to stop your service until the heat death of the universe, at which point you grab back to a known procedure, you restart the server. And this is where rebooting gets slightly ridiculous, because Windows administrators aren't allowed to reboot because of availability. Unix administrators don't want to reboot because uptime dragging writes and mainframes quietly reboot the workload every night, but just don't tell anyone. Same basic operation, completely different attitude. So maybe the question never was should computers be

rebooted? Because of course they should. The real question is how often, and the answer depends on what the computer is doing. Your laptop should reboot probably more often than you currently do. Windows Application Server during an agreed maintenance window. A unique server when maintenance requires it. Rather, when somebody's uptime records permit it a mainframe partition. You reboot that when everybody else is asleep. The point is that every system should have something we don't think of as an sla, which is a reboot sla. It's not how much uptime you're promising, it is

how much uninterrupted uptime you actually want. Because those two aren't the same things. Five 9s do not have to mean that the computer runs forever, it means that the service is available. And if your service cannot survive because one of the machines needs to be restarted, then rebooting isn't your actual problem, it's your architecture. So have you tried turning it off and on again? Yes, it's a cliche. Yes, the ID crowd turned it into a joke, and yes, somewhere a help desk engineer is probably asking that

exact question right now. But there's a reason it survived. Sometimes you restart an application, sometimes you restart the service, sometimes you reboot the operating system, and sometimes you IPL the partition and give it a much more impressive name. Different systems, different different schedules. Same principle. Computers accumulate history. Nothing in the server room should be left running unattended for years, because that's exactly how you end up with a goth in a closet.

The content of this podcast is intended for entertainment purposes only and is meant to humorously explore various tech related situations. Any resemblance to actual events or real persons, living or dead, is purely coincidental. We ridicule situations, never individuals or groups. Listener discretion is advised and we encourage everyone to approach technology with a sense of humor and an open mind.

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Jack's Rant - Why Corporate Runs Windows : Group Policy and Microsoft's Enterprise Advantage

    Nov 23, 202628 minAudio

    Why does Windows still dominate the corporate desktop after all these years? One answer is surprisingly old: Group Policy. Microsoft has spent decades building centralised management directly into Windows, allowing...

    Credit the people on this episode

  2. Network Redundancy : So Your Redundant Network Might Not Be Redundant

    Nov 16, 202631 minAudio

    From the classic backhoe cutting through a cable to redundant network paths, data protection, user connectivity, and the cost of building infrastructure that can survive failures, we explore where redundancy helps and...

    Credit the people on this episode

  3. The Cost Of Rushing AI : When AI Adoption Goes Wrong

    Nov 9, 202645 minAudio

    What happens when a company rushes into AI adoption without understanding what it actually costs? Ankit Mishra joins Jack Smith to share a firsthand incident involving an AI-powered sales lead generation platform,...

    Credit the people on this episode

  4. Call Center Down : If Only AI Could Diagnose Network Traffic Problems

    Nov 2, 202644 minAudio

    Call Center Down: If Only AI Could Diagnose Network Traffic Problems What happens when hundreds of call center employees suddenly find their systems grinding to a halt, only for everything to return to normal at 5 pm?...

    Credit the people on this episode

  5. Jack's Rants - PHP, Panic, and Technical Debt - PHP2Shell: Critical PHP Flaws, Emergency Patching, and Technical Debt

    Oct 26, 202615 minAudio

    Two critical PHP vulnerabilities. Emergency patches. Government websites going offline. And IT teams around the world suddenly discovering just how much forgotten infrastructure they're responsible for. But the real...

    Credit the people on this episode