Recently I am experiencing NTP high delay and offset values on my server.
$ ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*10.161.50.254 .SLK. 1 u 962 1024 377 23.942 -2.157 0.819
+10.147.50.253 .SLK. 1 u 1001 1024 377 26.628 2.991 0.245
However, when I query sync details manually, values are way different.
$ ntpdate -q 10.161.50.254
server 10.161.50.254, stratum 1, offset -0.001250, delay 0.04601
5 Mar 11:14:37 ntpdate[29876]: adjust time server 10.161.50.254 offset -0.001250 sec
In the first output delay is about 24 seconds, while in the second one it's less than 1 sec. This is the same for offset value. I want to know which output is valid. If the second output is more precise, why is it not showing the same in the first output. Can anyone explain what causes such difference, which one is valid and should I refer to?
(our service is quite sensitive to time, and such a discrepancy would result in abnormal reports, such as negative service usage duration time)