startup process stuck in recovery

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: startup process stuck in recovery
Date: 2017-10-09 19:08:13
Message-ID: B1A01387-19A7-4F0F-A351-5D5EECCAEDDD@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

We're dealing with a 9.5.5 database with the symptom that, after a certain amount of time after restart, the startup process reaches a certain WAL segment, and stops. The startup process runs at 100% CPU, with no output from strace. There are no queries running on the secondary, so it's not a delay for queries. The WAL receiver continues to operate normally, and we can see sent_location / write_location / flush_location continue to move ahead in parallel, with replay_location stuck in that WAL segment.

Suggestions on further diagnosis?

--
-- Christophe Pettus
xof(at)thebuild(dot)com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-10-09 19:10:43 Re: startup process stuck in recovery
Previous Message Igal @ Lucee.org 2017-10-09 18:17:39 Re: Permissions for Web App