Re:What every programmer should know about time
by wladimir on Monday July 04, 2011 @04:22AM
(#2725823)
This literally just happened to a VPS of mine. Time was jumping forwards and back, every second the time could jump an hour ahead and back. Everything screwed up, from log rotation to sessions.
My first thought was that this was some kind of prank :-) but seems it was a hardware issue on the parent machine combined with ntpd trying to compensate.
Re:What every programmer should know about time
by justincormack on Monday July 04, 2011 @06:40AM
(#2726128)
You should read this article (also applies to other VMs) http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachin...
There are a lot of issues that can happen because of this...
Re:What every programmer should know about time
by jen_h on Monday July 04, 2011 @06:32AM
(#2726106)
This one was a blast back in the day:
http://kb.vmware.com/selfservice/microsites/search.do?langua...
No need to run the test case, you'd run into it soon enough on a 2.6 kernel on VMWare. ;)
Re:What every programmer should know about time
by jodrellblank on Monday July 04, 2011 @12:17AM
(#2725352)
Ooh, such as?
Re:What every programmer should know about time
by jen_h on Monday July 04, 2011 @06:36AM
(#2726115)
The most fun one I ever found was a situation where a daemon analyzing & forwarding traffic through a bridged interface would lock up & stop passing traffic when you popped backwards and forwards through time on the box.
This is one of my favorite go-to test cases. I've found some really fantastically interesting, catastrophic network halting badness with this really simple test.