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:44:07 +0000 (UTC) [thread overview]
Message-ID: <i14ro7$hn$8@dough.gmane.org> (raw)
In-Reply-To: i14pea$hn$6@dough.gmane.org
>>
>> 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).
>
started the ntpd on the nodes. now i'm able to run it with "mon lease
wiggle room = 0.1".
as Wido is using ntpdate and he's successfull with 0.5 I would say 0.5 is
possible a good default.
- Thomas
prev parent reply other threads:[~2010-07-08 15:44 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
2010-07-08 15:44 ` Thomas Mueller [this message]
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='i14ro7$hn$8@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox