[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] server-client clock mismatches
From: |
Karsten Hilbert |
Subject: |
[Gnumed-devel] server-client clock mismatches |
Date: |
Fri, 9 May 2008 17:45:20 +0200 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
On Fri, May 09, 2008 at 08:16:09AM -0700, James Busser wrote:
>> Since the public db
>> server syncs to NTP servers on the internet it keeps nearly
>> perfect time. So this suggests the clock on your client may
>> be off by some amount ? There's more information on this in
>> the log file (such as the actual time diff etc). Note that
>> the code does try to adjust for wire roundtrip times. It
>> also accounts for time zone differences. I am interested in
>> a relevant log.
2008-05-09 08:14:01 DEBUG gm.database
(/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py
@ #1072): maximum skew tolerance (seconds): 30
2008-05-09 08:14:04 INFO gm.database
(/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py
@ #1072): server "now" (UTC): 2008-05-09 15:15:00.177112
2008-05-09 08:14:04 INFO gm.database
(/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py
@ #1072): client "now" (UTC): 2008-05-09 15:14:04.711407
2008-05-09 08:14:04 DEBUG gm.database
(/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py
@ #1072): wire roundtrip (seconds): 0.462917804718
2008-05-09 08:14:04 DEBUG gm.database
(/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py
@ #1072): client/server time skew: 0:00:55.465705
2008-05-09 08:14:04 ERROR gm.database
(/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/logging/__init__.py
@ #1072): client/server time skew > tolerance
The log indicates that client and server are off by roughly
one minute which isn't a whole lot.
What would people consider a reasonable boundary condition ?
1 minute, 2 minutes, 5 minutes ?
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346