Leapsecondapocalypse!
14 Replies
$ uname -a
Linux li166-66 3.0.18-linode43 #1 SMP Mon Jan 30 11:44:09 EST 2012 i686 GNU/Linux
$ uptime
17:15:38 up 111 days, 12:04, 1 user, load average: 0.00, 0.01, 0.05
linode.pts/0% uptime
21:36:33 up 20 days, 8:11, 1 user, load average: 0.00, 0.01, 0.05
> During the night of 30.06.2012 to 01.07.2012 our internal
monitoring systems registered an increase in the level of
IT power usage by approximately one megawatt.
The reason for this huge surge is the additional switched
leap second which can lead to permanent CPU load on Linux
servers.
@Guspaz:
Nary a problem, on any Linux box at home or Linode. Then again, I don't purposefully run ancient kernels
;)
I run all the latest, home and Linode. Even on the Linode kernel 3.4.2-linode44 I saw MySQL go max
CPU, same on my two home machines a desktop and a laptop, all running Ubuntu 12.04.
The only thing I can think of that was in common is that I was running something on Java on all 3. Why would that impact MySQL? I read something about the JVM and MySQL both use a Linux thread thing called a futex. I don't program that low usually so I never used it.
@Guspaz:
Nary a problem, on any Linux box at home or Linode. Then again, I don't purposefully run ancient kernels
;)
Of course, ironically, this is a case where running an ancient kernel could have been more protective than the most current, since it could predate the introduction of the issue, which I believe was as of 2.6.22.
– David
In my case I did not have an issue at the exact time this was supposed to happen (midnight GMT), or 5PM PST; yet I did have my CPU on my linodes and on my local dev/test box go really high [90%-95%] at midnight between 6-30-12 and 7-1-12 for about 90 seconds. I checked the graphs for the previous 4 months and did not see that happen previously. Running Fedora 15 3.4.2-x8664-linode25 with the linodes and fedora 15 2.6.43 on the devs. MySQL version is "mysql Ver 14.14 Distrib 5.5.23, for Linux (x8664) using readline 5.1"
Setting the time manually from the command line immediately cleared the problem - average load and web page load times went back to the levels from the week before. (committed_as memory remains high, however).
So you may want to take a closer look at your system, even though you think everything is ok.