<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>&gt; Date: Sun, 8 Mar 2009 19:56:57 -0700<br>&gt; Subject: Re: Clock problems<br>&gt; From: coderman@gmail.com<br>&gt; To: or-talk@freehaven.net<br>&gt; <br>&gt; On Sun, Mar 8, 2009 at 6:16 PM, downie - &lt;downgeoff2@hotmail.com&gt; wrote:<br>&gt; &gt;...<br>&gt; &gt; "[warn] Your system clock just jumped 160 seconds forward; assuming<br>&gt; &gt; established circuits no longer work."<br>&gt; &gt; There are big blocks of these errors occuring 3 minutes 40 seconds or so<br>&gt; &gt; apart, for 3 hours.<br>&gt; &gt; The reported clock jump is always 150-170 seconds, and always forwards.<br>&gt; ...<br>&gt; <br>&gt; this sounds like the expected behavior of ntpd issuing adjtime() calls<br>&gt; to slowly bring your clock skew down to current time.  this can take<br>&gt; hours depending on how large of an adjustment is needed.<br>&gt; <br>&gt; is the computer off for a longer period of time than usual when such<br>&gt; behavior occurs?<br><br>It had been on for a couple of days before the latest rash of warnings, and Tor had been running for just over an hour after a daily shutdown of an hour.<br>&nbsp;A few days ago I had some overnight broadband outages.<br>FWIW the clock synchronises to Apple's server, I'm not sure how often, and I haven't had any warnings about being out of sync.<br><br><br><br><br>&gt; from OSX adjtime man page:<br>&gt; <br>&gt; DESCRIPTION<br>&gt; Adjtime() makes small adjustments to the system time, as returned by<br>&gt; gettimeofday(2), advancing or retarding it by the time specified by<br>&gt; the timeval delta.  If delta is negative, the clock is slowed down by<br>&gt; incrementing it more slowly than normal until the correction is<br>&gt; complete.  If delta is positive, a larger increment than normal is<br>&gt; used.  The skew used to perform the correction is generally a fraction<br>&gt; of one percent.  Thus, the time is always a monotonically increasing<br>&gt; function...<br>&gt;<br><br>Hmm, I'll have to take that on trust - I have no manpages for adjtime or gettimeofday.<br>Those commands aren't recognised.<br><br>&nbsp;also, ntpd / ntpdate may also perform similar incremental adjustment themselves:<br>&gt; <br>&gt; """<br>&gt; [ntpd|ntpdate may] step the time using settimeofday(2) if the offset<br>&gt; is greater than +-128 ms.  Note that, if the offset is much greater<br>&gt; than +-128 ms in this case, it can take a long time (hours) to slew<br>&gt; the clock to the correct value.  During this time, the host should not<br>&gt; be used to synchronize clients.<br>&gt; """<br>&gt; <br>&gt; best regards,<br><br>Thank you,<br>GD<br><br /><hr />HotmailŪ is up to 70% faster. Now good news travels really fast.  <a href='http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_032009' target='_new'>Find out more.</a></body>
</html>