Leap-second Bug Consumes Megawatts of Electricity

leap second clock frogWas it the leap-second bug that pushed America’s power plants beyond their capacity?

A 61 second minute was added to clocks around the world on June 30, 2012 at 23:59:60 UTC in order to compensate for slight variations in earth’s rotation speed.  This triggered a number of software bugs one of which caused a spike in data center electrical power consumption.

We won’t have to worry about a replay of Y2k until the year 10,000 but leap-year bugs reappear like clockwork every four and four hundred years.  Programmers periodically reinvent leap-year mistakes while re-implementing an algorithm first perfected by Pope Gregory XIII in 1582.  Leap second bugs are less predictable.  Leap seconds are necessary because the Earth’s rotation speeds up and slows down in
hetzer power graph

response to lunar and solar tidal forces.   Leap seconds realign astronomical time with standard earth (UTC) time.  This year’s leap second caused a number of software bugs including a Linux kernel bug which caused server power consumption to spike at web hosting companies such as OVH of France and Hetzner AG of Germany.

In a message to their customers, Hetzner AG admitted that this leap-second bug caused their electrical power consumption to increase by about a megawatt.

Even as I type this article on a Linux-powered laptop, I hear the fan speed up and slow down in response to varying CPU load.  Websites such as Facebook, online games and web advertisements cause the CPU to draw more power and run hotter so the fan speeds up.  Computer malware such as stuxmark and flame also have a significant energy cost as do the anti-virus programs which are designed to protect us from these threats.

Computers are far more efficient than they were a few decades ago.  They have grown so efficient that software developers can no longer justify spending time on optimizing algorithms or hunting down CPU performance bugs.  But because computers have become so ubiquitous, they consume an increasing fraction of our electrical power consumption and should not be ignored.

The June 30th leap second bug coincided with heat waves in parts of North America.  Air conditioning pushed some electric power utilities to the brink of their capacity.  Thunderstorms took out some redundancy and the remaining active power lines actually sagged as electrical load heated them enough to soften their copper core.

It is certainly within the realm of possibility that the power consumption spike associated with a leap-second bug could have pushed power plants beyond their capacity, leaving consumers in the dark.

Such “butterfly effect” power outages have occured in the past.  One of the most famous ones began in November 1965 when a mis-configured circuit breaker tripped and caused a cascade of overloads which left much of Northeastern US and Quebec in the dark.  So as the world moves towards a more efficient balance between electrical production and consumption, we must pay more attention to the energy consumed by inefficient computers and buggy software.

Stopwatch and frog image from Shutterstock; Leap second power spike graph via Hetzner, color fill added to improve contrast.

Brian Nitz
Brian Nitzhttp://www.greenprophet.com
Brian remembers when a single tear dredged up a nation's guilt. The tear belonged to an Italian-American actor known as Iron-Eyes Cody, the guilt was displaced from centuries of Native American mistreatment and redirected into a new environmental awareness. A 10-year-old Brian wondered, 'What are they... No, what are we doing to this country?' From a family of engineers, farmers and tinkerers Brian's father was a physics teacher. He remembers the day his father drove up to watch a coal power plant's new scrubbers turn smoke from dirty grey-back to steamy white. Surely technology would solve every problem. But then he noticed that breathing was difficult when the wind blew a certain way. While sailing, he often saw a yellow-brown line on the horizon. The stars were beginning to disappear. Gas mileage peaked when Reagan was still president. Solar panels installed in the 1970s were torn from roofs as they were no longer cost-effective to maintain. Racism, public policy and low oil prices transformed suburban life and cities began to sprawl out and absorb farmland. Brian only began to understand the root causes of "doughnut cities" when he moved to Ireland in 2001 and watched history repeat itself. Brian doesn't think environmentalism is 'rocket science', but understanding how to apply it within a society requires wisdom and education. In his travels through Europe, North America, Asia and the Middle East, Brian has learned that great ideas come from everywhere and that sharing mistakes is just as important as sharing ideas.

TRENDING

Thank you, LinkedIn — and what your Jobs on the Rise report means for sustainable careers

While “green jobs” aren’t always labeled as such, many of the fastest-growing roles are directly enabling the energy transition, climate resilience, and lower-carbon systems: Number one on their list is Artificial Intelligence engineers. But what does that mean? Vibe coding Claude? 

Is It Safe to Be Around Artificial Snow?

The bacterium used in Snomax is non-viable (it is killed first) and it cannot grow at human body temperature. Regulatory reviews in Europe and North America have not found evidence that it causes infectious disease in humans. But not a lot of studies have been done.

Why this French ski village is being stalked by a nerve disease

Researchers found that this French ski village was known for eating this one thing

Brigitte Bardot dies but her legacy of animal rights lives on

Iconic French actress dies but leaves behind a legacy of caring for animals.

The little known nuclear testing sites used by France in Algeria’s Sahara Desert

More than sixty years after France’s nuclear tests in the Algerian Sahara, radiation still lingers in the sand. At Reggane and In Ekker, plutonium traces remain where underground detonations vented into the open air. The sites were never fully decontaminated after France’s withdrawal in 1966. Algeria now monitors them with help from the International Atomic Energy Agency, but vast areas remain off-limits to herders and researchers.

Turning Your Energy Consultancy into an LLC: 4 Legal Steps for Founders in Texas

If you are starting a renewable energy business in Texas, learn how to start an LLC by the books.

Tracking the Impacts of a Hydroelectric Dam Along the Tigris River

For the next two months, I'll be taking a break from my usual Green Prophet posts to report on a transnational environmental issue: the Ilısu Dam currently under construction in Turkey, and the ways it will transform life along the Tigris River.

6 Payment Processors With the Fastest Onboarding for SMBs

Get your SMB up and running fast with these 6 payment processors. Compare the quickest onboarding options to start accepting customer payments without delay.

Qatar’s climate hypocrisy rides the London Underground

Qatar remains a master of doublethink—burning gas by the megaton while selling “sustainability” to a world desperate for clean air. Wake up from your slumber people.

How Quality of Hire Shapes Modern Recruitment

A 2024 survey by Deloitte found that 76% of talent leaders now consider long-term retention and workforce contribution among their most important hiring success metrics—far surpassing time-to-fill or cost-per-hire. As the expectations for new hires deepen, companies must also confront the inherent challenges in redefining and accurately measuring hiring quality.

8 Team-Building Exercises to Start the Week Off 

Team building to change the world! The best renewable energy companies are ones that function.

Thank you, LinkedIn — and what your Jobs on the Rise report means for sustainable careers

While “green jobs” aren’t always labeled as such, many of the fastest-growing roles are directly enabling the energy transition, climate resilience, and lower-carbon systems: Number one on their list is Artificial Intelligence engineers. But what does that mean? Vibe coding Claude? 

Somali pirates steal oil tankers

The pirates often stage their heists out of Somalia, a lawless country, with a weak central government that is grappling with a violent Islamist insurgency. Using speedboats that swarm the targets, the machine-gun-toting pirates take control of merchant ships and then hold the vessels, crew and cargo for ransom.

Related Articles

Popular Categories