<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sig-I/O (Posts about bug)</title><link>https://sig-io.nl/</link><description></description><atom:link href="https://sig-io.nl/categories/bug.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:mark@sig-io.nl"&gt;Mark Janssen&lt;/a&gt; </copyright><lastBuildDate>Wed, 12 Jun 2024 13:43:18 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Linux Leap-Second problem</title><link>https://sig-io.nl/posts/linux-leap-second-problem/</link><dc:creator>Mark Janssen</dc:creator><description>&lt;p&gt;So, this weekend was quite an interesting one, as on July 1st 02:00 local time (00:00 UTC) a leap-second was added via NTP. This caused serious problems for all my Java Virtual Machines and mysql databases.&lt;/p&gt;
&lt;p&gt;If your system has printed the following line (in dmesg), a leap-second has been added recently:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Clock: inserting leap second 23:59:60 UTC&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;On most of my systems, the JVM’s would spike to 100% cpu load over all cores, mysql seems to also do this.&lt;/p&gt;
&lt;p&gt;The work-around/fix at this time is to run:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;date &lt;cite&gt;date +"%m%d%H%M%C%y.%S"&lt;/cite&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hopefully this will be fixed in the kernel before the next leap-second is added. Which could be as soon as 2013/01/01, though probably later.&lt;/p&gt;
&lt;section id="update-2018"&gt;
&lt;h2&gt;Update 2018:&lt;/h2&gt;
&lt;p&gt;It was indeed fixed before the next leap-second, which occurred somewhere not too long after. I haven't encountered this problem since.&lt;/p&gt;
&lt;/section&gt;</description><category>bug</category><category>leap-second</category><category>linux</category><guid>https://sig-io.nl/posts/linux-leap-second-problem/</guid><pubDate>Tue, 03 Jul 2012 21:03:16 GMT</pubDate></item></channel></rss>