From: rihad <rihad@mail.ru>
To: 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 11:07:10 +0400
Message-ID: <a1536865-27d5-e8c5-38a7-0db01fa764c2@mail.ru> (raw)
In-Reply-To: <4a7c5b2e-9e27-3cd0-baa8-f0ad4df6b440@mail.ru>
References: <86255d9c-51b0-aca3-1757-016952c73c67@mail.ru>
<4a7c5b2e-9e27-3cd0-baa8-f0ad4df6b440@mail.ru>
On 06/30/2019 10:59 AM, rihad wrote:
> Damn. Sorry, and please disregard my post. The master server had the
> wrong time. Not wrong TZ, simply wrong time.
>
> $ date
> Sun Jun 30 08:34:52 +04 2019
>
> while it's currently 10:58
There's a weird problem, even when the time is initially set by openntpd
it keeps lagging by one second every few seconds:
$ sudo /usr/local/etc/rc.d/openntpd restart
Performing sanity check on openntpd configuration:
configuration OK
Stopping openntpd.
Waiting for PIDS: 85893.
Performing sanity check on openntpd configuration:
configuration OK
Starting openntpd.
$ ssh good-server date; date
Sun Jun 30 11:04:17 +04 2019
Sun Jun 30 11:04:17 +04 2019
$ ssh good-server date; date
Sun Jun 30 11:04:25 +04 2019
Sun Jun 30 11:04:24 +04 2019
$ ssh good-server date; date
Sun Jun 30 11:04:32 +04 2019
Sun Jun 30 11:04:31 +04 2019
$ ssh good-server date; date
Sun Jun 30 11:04:39 +04 2019
Sun Jun 30 11:04:37 +04 2019
$ ssh good-server date; date
Sun Jun 30 11:04:48 +04 2019
Sun Jun 30 11:04:45 +04 2019
Really weird. But this isn't a PG problem at all, just a server glitch
maybe. sorry again.
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: rihad@mail.ru
Subject: Re: "Time of latest checkpoint" stays too old on both master and slave
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>
* 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