top of page

‘Leap Second’ Bug Fixed

  • Jun 2, 2015
  • 1 min read


On Saturday, at midnight Greenwich Mean Time, as June turned into July, the Earth’s official time keepers held their clocks back by a single second in order to keep them in sync with the planet’s daily rotation.

This one second adjustment caused us many problems. Most of our system that run on Linux and Java started to misbehave, ranging from 100% CPU usage, very high load average to total crash.

It took us a while to figure out that the one second adjustment was the root cause, but crossing information from the web we saw that we are not the only ones with the problem.

Eventually we fixed the problem with this easy command : date; sudo date `date +"%m%d%H%M%C%y.%S"`; date; That is it, once you run it you don’t even have to restart your java applications, they will start behaving normally again.


This post was written by Aviran Mordo

 
 
 

Comments


The Latest Posts:

  • _EngineeringProductivity
  • _EngineeringProductivity

Code Migrations Don't Have to Hurt. This is how switched from cross team manual work to an automatic infrastructure

  • _AIEngineering
  • _AIEngineering

The End of Determinism: What’s Left for Engineers When AI Writes the Code

  • _AIEngineering
  • _AIEngineering

How to Build AI Agents That Fix Themselves - Without Bigger Prompts, More Context, or Another LLM

bottom of page