Back to articles
Why "Just Restart It" Stopped Working
NewsTools

Why "Just Restart It" Stopped Working

via Dev.toSreekanth Kuruba

Why "Just Restart It" Stopped Working A eulogy for the universal debugging technique The Universal Truth Every engineer has said it. Every engineer has heard it. Three words that have debugged more systems than all monitoring tools combined: "Have you tried restarting it?" It worked for decades. So well we turned it into a meme. A joke. A badge of honor. "Did you turn it off and on again?" We laughed because it was true. When Restarting Made Sense Once upon a time, a server was a physical thing. One machine. One process. One problem. When something broke: Service stops responding → SSH into the box → ps aux | grep myapp → PID still there? Process hung? → kill -9 PID → ./start-myapp.sh → Everything works again Total time: 2 minutes Total stress: Minimal Total sleep lost: None Why did this work? Because the problem was usually temporary. A memory leak. A deadlock. A bad connection that timed out wrong. The code had a bug, sure. But restarting reset the state to before the bug happened .

Continue reading on Dev.to

Opens in a new tab

Read Full Article
8 views

Related Articles