Re: logical replication snapshots

From: Dimitri Maziuk <dmaziuk(at)bmrb(dot)wisc(dot)edu>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: logical replication snapshots
Date: 2018-07-24 14:38:49
Message-ID: 67f03730-ead4-26a9-185c-9e7f06cdc90a@bmrb.wisc.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/23/2018 6:51 PM, Andres Freund wrote:

> What precedes that "loop"?

systemctl start postgresql-10

> Could you describe what exactly you did into that situation?

Created a database, few publications, as per TFM, and a few
subscriptions on another host. Went on vacation for 3 weeks. The problem
host is centos 7.current w/ postgres rpms from PGDG repo. Postgres is on
port 5434 because there is a stock one on 5432.

> ls probably works in general, it's just the sorting that makes it
> hang. Should work with -f or such.

I don't think this means what you think this means.

There are *13 million* files in
/var/lib/pgsql/10/data/pg_logical/snapshots and postgres hangs forever
on start with
FATAL: the database system is starting up
FATAL: the database system is starting up
FATAL: the database system is starting up
...
I think the two are related. ICBW and all that. What do I do no not get
it into that state again?

Thx

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2018-07-24 16:10:10 Speccing a remote backup server
Previous Message Simon Brent 2018-07-24 14:25:01 Order of execution for permissive RLS policies