TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Out of control Java processes when dealing with a leap second?

87 点作者 wzm将近 13 年前

17 条评论

silviosantoz将近 13 年前
Leap second + Java + Linux fix (without reboot):<p>/etc/init.d/ntp stop; date; date `date +"%m%d%H%M%C%y.%S"`; date;<p>-- then restart java
评论 #4183667 未加载
评论 #4183720 未加载
评论 #4183654 未加载
评论 #4184540 未加载
评论 #4184123 未加载
评论 #4183701 未加载
评论 #4183631 未加载
评论 #4183607 未加载
rasur将近 13 年前
I had a lovely morning (2am-4.30) rebooting about 50 boxes by hand. All wearing some shade of java.
Maxious将近 13 年前
Reddit is also down due to Java <a href="https://twitter.com/redditstatus/status/219244389044731904" rel="nofollow">https://twitter.com/redditstatus/status/219244389044731904</a>
cmorrisrsg将近 13 年前
We saw this on every Ubuntu Lucid machine we run. Restarting the JVM was insufficient - we ended up fully rebooting the machines.
matthewlmcclure将近 13 年前
Would love to read a root cause analysis of the relevant source code. Anyone have a link?
评论 #4183692 未加载
评论 #4183706 未加载
nickzoic将近 13 年前
I didn't really think about it at the time, but right about then (I'm in GMT+10) a Minecraft server (OpenJDK 64-bit, Ubuntu 11.10) I had running got rather upset ...<p><pre><code> 2012-07-01 09:59:59 [WARNING] Time ran backwards! Did the system time change? 2012-07-01 10:01:14 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? </code></pre> ... and stuck on 100% CPU until I noticed it and restarted it this morning. Thankfully no other issues that I've noticed.
aSig将近 13 年前
I saw the same across all of our Ubuntu servers. Some running Tomcat others running SmartFox Server (a java based game server). A reboot + app restart fixed it.
burningout将近 13 年前
I was just wondering why everything stopped working at night. System.exit() didn't work anymore in any of the java processes, or just random hangs.<p>wow.
stevencorona将近 13 年前
Even if you're not running java in your stack, it's worth a quick check on your servers. Our SoftLayer servers use an Adaptec RAID card and the monitoring software uses the JVM and will suck up all of your CPU. All of our MySQL/Cassandra/Redis/Kestrel servers needed to be bounced because they had RAID cards. Frustrating.
评论 #4184310 未加载
评论 #4183970 未加载
_joe将近 13 年前
Same problem here. I am supposedly on vacation in Barcelona and was summoned to help :/ Gotta love your java.
评论 #4184454 未加载
gouranga将近 13 年前
At the risk of shooting myself, all our jvms were fine on windows and Ubuntu.
DEinspanjer将近 13 年前
Fun that a bug for my team happens to be the thing linked in this article. :)
评论 #4183683 未加载
ryanpers将近 13 年前
its the futex() call that is bugged, so therefore things that are highly multi-threaded... for example mysql and java!<p>Many unix things are not as multithreaded as those examples.
_thekev将近 13 年前
I was able to restore my java app boxen (and all other boxen) by only setting the date to the current date. No restarts necessary.
matthewlmcclure将近 13 年前
What's the explanation of that wacky date format?<p>minute day hour month year . second
评论 #4184108 未加载
rbanffy将近 13 年前
I experienced no problem today. Is this Java-specific?
评论 #4184006 未加载
评论 #4183633 未加载
spullara将近 13 年前
Has anyone seen this not on Ubuntu?
评论 #4183660 未加载
评论 #4183643 未加载
评论 #4184466 未加载
评论 #4183669 未加载