From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: rihad <rihad@mail.ru>
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: "Time of latest checkpoint" stays too old on both master and slave
Date: Sun, 30 Jun 2019 18:45:03 +0100
Message-ID: <87h887q8i1.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <a1536865-27d5-e8c5-38a7-0db01fa764c2@mail.ru>
References: <86255d9c-51b0-aca3-1757-016952c73c67@mail.ru>
<4a7c5b2e-9e27-3cd0-baa8-f0ad4df6b440@mail.ru>
<a1536865-27d5-e8c5-38a7-0db01fa764c2@mail.ru>
>>>>> "rihad" == rihad <rihad@mail.ru> writes:
rihad> There's a weird problem, even when the time is initially set by
rihad> openntpd it keeps lagging by one second every few seconds:
rihad> $ sudo /usr/local/etc/rc.d/openntpd restart
What OS is this?
I've seen this kind of thing with FreeBSD where the kernel timecounter
source has been chosen badly (i.e. choosing TSC when the TSC isn't
actually invariant enough). Forcing TSC not to be used fixes it. The
configuration I've especially noticed it on is when running in a VM with
a single virtual CPU.
--
Andrew (irc:RhodiumToad)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andrew@tao11.riddles.org.uk, rihad@mail.ru
Subject: Re: "Time of latest checkpoint" stays too old on both master and slave
In-Reply-To: <87h887q8i1.fsf@news-spur.riddles.org.uk>
References: <86255d9c-51b0-aca3-1757-016952c73c67@mail.ru> <4a7c5b2e-9e27-3cd0-baa8-f0ad4df6b440@mail.ru> <a1536865-27d5-e8c5-38a7-0db01fa764c2@mail.ru> <87h887q8i1.fsf@news-spur.riddles.org.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox