All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Mueller <thomas@chaschperli.ch>
To: ceph-devel@vger.kernel.org
Subject: Re: "clocks not synchronized" warning message
Date: Thu, 8 Jul 2010 15:04:42 +0000 (UTC)	[thread overview]
Message-ID: <i14pea$hn$6@dough.gmane.org> (raw)
In-Reply-To: Pine.LNX.4.64.1007080750200.32514@cobra.newdream.net

Am Thu, 08 Jul 2010 07:53:00 -0700 schrieb Sage Weil:

> On Thu, 8 Jul 2010, Thomas Mueller wrote:
> 
>> Am Thu, 08 Jul 2010 16:19:28 +0200 schrieb Wido den Hollander:
>> 
>> > Hi,
>> > 
>> > I'm experiencing the same. The default "mon lease wiggle room" is set
>> > t .001, which gives the messages in my setup.
>> 
>> this is what I just found too - in unstable the default is now 0.010.
>> with 0.5 the message was still there. with 1.0 it was away.
>> 
>> I think 0.010 is still a bit small for a system not connected to a
>> atomic clock? :)
> 
> How about .5 seconds?  We sync our machines to a local ntp server, so
> the clocks get really close (sub-ms).  I forget that NTP isn't so
> accurate over a WAN.
> 
> The issue is that the monitor leases and timeouts are something like 2
> seconds (so that failures/unavailability) are detected quickly, so the
> tolerable clock drift can't get too close to that.
> 
> sage

ok, if this is the problem, then I would also recommend running an ntp 
daemon (not ntpdate) on every node. A running ntpd will manage the 
timesource to be in sync. 

If anyone likes to run an mds/mon on a VM I expect problems - virtualized 
clocksources are far less stable (my experience).

- Thomas 


  reply	other threads:[~2010-07-08 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08 12:54 "clocks not synchronized" warning message Thomas Mueller
2010-07-08 14:19 ` Wido den Hollander
2010-07-08 14:31   ` Thomas Mueller
2010-07-08 14:53     ` Sage Weil
2010-07-08 15:04       ` Thomas Mueller [this message]
2010-07-08 15:44         ` Thomas Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i14pea$hn$6@dough.gmane.org' \
    --to=thomas@chaschperli.ch \
    --cc=ceph-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.