News for hackers. Stuff that matters.
Re:Out of control Java processes when dealing with a leap se... by silviosantoz on Saturday June 30, 2012 @10:14PM (#4183554)
Leap second + Java + Linux fix (without reboot):

/etc/init.d/ntp stop; date; date `date +"%m%d%H%M%C%y.%S"`; date;

-- then restart java

Re:Out of control Java processes when dealing with a leap se... by smokestack on Saturday June 30, 2012 @11:00PM (#4183667)
This is what worked for us. Credit to https://bugzilla.mozilla.org/show_bug.cgi?id=769972#c5
Re:Out of control Java processes when dealing with a leap se... by _thekev on Saturday June 30, 2012 @11:22PM (#4183720)
A lot simpler:

date --set "`date`"

Re:Out of control Java processes when dealing with a leap se... by larelli on Sunday July 01, 2012 @06:37AM (#4184374)
On a localized box, I had to run "unset LANG" first, because otherwise date doesn't seem to understand its own output.
Re:Out of control Java processes when dealing with a leap se... by zship on Saturday June 30, 2012 @10:53PM (#4183654)
Thank you! Was banging my head against the wall on RHEL6's tomcat. Went on Hacker News to stop thinking about it for a few minutes. Son of a bitch, the solution was right on the front page.
Re:Out of control Java processes when dealing with a leap se... by henrikschroder on Sunday July 01, 2012 @08:19AM (#4184540)
Where were you 11 hours ago when we rebooted all of our cassandra and mysql machines? :-)
Re:Out of control Java processes when dealing with a leap se... by juiceandjuice on Sunday July 01, 2012 @03:25AM (#4184123)
Doesn't work for everyone (Didn't work with our java processes on RHEL 6.2)
Re:Out of control Java processes when dealing with a leap se... by stevencorona on Saturday June 30, 2012 @11:11PM (#4183701)
fixed it for Twitpic too
Re:Out of control Java processes when dealing with a leap se... by orphan_annie on Saturday June 30, 2012 @10:47PM (#4183631)
you saved the orphanage!
Re:Out of control Java processes when dealing with a leap se... by timdoug on Saturday June 30, 2012 @10:37PM (#4183607)
Works wonders for me. Thanks!