Comment on Out of control Java processes when dealing with a leap second?Comments−silviosantoz14yLeap 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−smokestack14yThis is what worked for us. Credit to https://bugzilla.mozilla.org/show_bug.cgi?id=769972#c5−_thekev14yA lot simpler:date --set "`date`"−larelli14yOn a localized box, I had to run "unset LANG" first, because otherwise date doesn't seem to understand its own output.−zship14yThank 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.−henrikschroder14yWhere were you 11 hours ago when we rebooted all of our cassandra and mysql machines? :-)−juiceandjuice14yDoesn't work for everyone (Didn't work with our java processes on RHEL 6.2)−stevencorona14yfixed it for Twitpic too−orphan_annie14yyou saved the orphanage!−timdoug14yWorks wonders for me. Thanks!
Comments
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
This is what worked for us. Credit to https://bugzilla.mozilla.org/show_bug.cgi?id=769972#c5
A lot simpler:
date --set "`date`"
On a localized box, I had to run "unset LANG" first, because otherwise date doesn't seem to understand its own output.
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.
Where were you 11 hours ago when we rebooted all of our cassandra and mysql machines? :-)
Doesn't work for everyone (Didn't work with our java processes on RHEL 6.2)
fixed it for Twitpic too
you saved the orphanage!
Works wonders for me. Thanks!