From: | Abhijit Gharami <abhijitgharami(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
Cc: | PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: [BUGS] Fwd: PostgreSQL 9.4.13 is facing issue in shutting down |
Date: | 2017-08-22 06:37:24 |
Message-ID: | CAA5_DuD0Spz5WyxkrDwZGB5C_w491B_ZcNhrRBrU5BDghXsazg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-bugs pgsql-general |
The client is a Hot Standby server.
Regards,
Abhijit
On Tue, Aug 22, 2017 at 11:05 AM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com
> wrote:
> On Tue, Aug 22, 2017 at 1:58 PM, Abhijit Gharami
> <abhijitgharami(at)gmail(dot)com> wrote:
> > Recently we have updated our PostgreSQL version from 9.4.12 to 9.4.13.
> With
> > version 9.4.13 while trying to stop the PostgreSQL server, database is
> > facing issues in shutting down. The problem probably occurs because of
> the
> > WAL sender process not getting terminated on shutdown request.
> > ps output:
> > postgre+ 7915 0.0 1.9 589772 39528 ? S< 09:11 0:00
> > /..../bin/postgres -D /.../postgresql -h 0.0.0.0 -p 5432
> > postgre+ 8617 0.0 0.4 590760 8344 ? S<s 09:13 0:00
> postgres:
> > wal sender process replicator xx.xx.xx.xxx(45948) streaming 0/4000090
>
> One change introduced between 9.4.12 and 9.4.13 is the way WAL senders
> are stopped at shutdown. The checkpointer will first send a signal to
> all the WAL senders after all the normal backends have exited before
> beginning to issue the checkpoint shutdown. This will switch the WAL
> senders to a stopping state where all new queries are blocked, and all
> WAL senders exit after they have sent any remaining WAL to the
> clients, including the checkpoint shutdown record. So, what is the
> client behind this WAL sender? It seems that this WAL sender is
> waiting for some confirmation activity.
> --
> Michael
>
From | Date | Subject | |
---|---|---|---|
Next Message | Rijo Roy | 2017-08-22 10:59:58 | PPAS 9.5 - PEM server generating high number of wal files |
Previous Message | Michael Paquier | 2017-08-22 05:35:45 | Re: Fwd: PostgreSQL 9.4.13 is facing issue in shutting down |
From | Date | Subject | |
---|---|---|---|
Next Message | Mart Palmas | 2017-08-22 08:53:45 | TO_TSVECTOR acts differently with national charcters |
Previous Message | 樊异森 | 2017-08-22 06:33:26 | 直接执行psql.exe出现的问题 |
From | Date | Subject | |
---|---|---|---|
Next Message | marcelo | 2017-08-22 09:43:25 | Re: Porting libpq to QNX 4.25 |
Previous Message | Michael Paquier | 2017-08-22 05:35:45 | Re: Fwd: PostgreSQL 9.4.13 is facing issue in shutting down |