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:

  • _AIEngineering
  • _AIEngineering

From Co-Pilot to Full Automation: How Wix Is Embedding AI Agents Across an Engineering Org at Scale

Kickstart your engineering career at Wix

Kickstart your engineering career at Wix

How We Built a Zero-Downtime Database Migration Service at Wix

Kickstart your engineering career at Wix

Kickstart your engineering career at Wix

We Ran 250 AI Agent Evals to Find Out if Skills Beat Docs. The Answer Is More Complicated Than We Expected

bottom of page