PDA

View Full Version : Server time wrong?


brian
27th October 2006, 10:09
Hi

Have just uploaded a file to the server at 10.04am but the server says 10.31am - just wondered why the large discrepancy

othelloRob
29th October 2006, 14:59
unfortunately the new dual-core duo cpu's have some serious clock issues, and get very out of kilter. we are looking at better ways to syncronise them to our timeserver, but until there is more advanced kernel support in linux for the new chips thats proving difficult.

brian
29th October 2006, 18:23
Thanks Rob..

Roger
30th October 2006, 15:30
We're running online writing competitions where the closing date is midnight on the day in question, and have been using the server time to determine when to stop accepting entries. Our next closing date is 7th February next year, how likely is it that this will be fixed by then? If not I have two possible work-arounds, one is to hold a timer offset and use that to correct the clock, the other is to find a way for PHP to query a time server and use that instead. Any comments?

othelloRob
30th October 2006, 16:03
We're running online writing competitions where the closing date is midnight on the day in question, and have been using the server time to determine when to stop accepting entries. Our next closing date is 7th February next year, how likely is it that this will be fixed by then

Its a fundamental issue with dual cpu dual core systems, which *may* be fixable with a software patch. In the interim we are forcing a sync with our timeserver every 5 minutes.

For time critical issues you should never rely on any machines server-time, always go to a true time source like ntp.othello.net.uk 80.82.140.105

Roger
30th October 2006, 16:35
Thanks. What port and prototcol should I use? (I just tried port 13, DAYTIME protocol and it didn't work.) Any restrictions / recommendations?