Anyone else ever heard of this GetTimeOfDay property on Sun JDK?
-------- Original Message -------- Subject: Re: [JRuby 1.1.3 -- Glassfish 9.1_01] Time slowly out of sync? Date: Mon, 08 Jun 2009 18:56:56 +0900 From: Robert Klemme <[email protected]> Reply-To: [email protected] To: [email protected] (ruby-talk ML) References: <[email protected]> 2009/6/5 David Westerink <[email protected]>:
I hope you can help me with this very strange issue I'm having... I have an application in JRuby on GlassFish deployed on 2 servers. One is production, the other is fail-over. We had an power outage a few days ago, and now I'm having a strange issue on the production server. It seems that the application (NOT the server) is slowly losing track of time...
As you can see, the time goes way off!!! How can this be happening? Is there a way I can sync time in JRuby (GalssFish doen't seem to be the issue) with the server time? Anyone with some help/anwsers/hints?
We had a similar issue just recently with a JVM run on HP Itanium. It turned out that it was the JVM not using a system call to get at the time but did some internal sampling. This was remedied by using JVM option "-XX:+UseGetTimeOfDay": http://www.google.com/search?q=%22-XX%3A%2BUseGetTimeOfDay%22 Knowing that the HP JVM is written by Sun and OEM'ed by HP I would not totally exclude the possibility of a similar phenomenon on Solaris although we did not observe this yet. Kind regards robert --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
