Re: [HACKERS] Postgres process invoking exit resulting in sh-QUIT core

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: "K S, Sandhya (Nokia - IN/Bangalore)" <sandhya(dot)k_s(at)nokia(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, "T, Rasna (Nokia - IN/Bangalore)" <rasna(dot)t(at)nokia(dot)com>, "Itnal, Prakash (Nokia - IN/Bangalore)" <prakash(dot)itnal(at)nokia(dot)com>
Subject: Re: [HACKERS] Postgres process invoking exit resulting in sh-QUIT core
Date: 2017-07-05 12:50:27
Message-ID: CAMsr+YGq__E_6ArFzfzw_PswwRW_qB3xkPZmVhn0CZoGbmyrPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On 3 Jul. 2017 23:01, "K S, Sandhya (Nokia - IN/Bangalore)" <
sandhya(dot)k_s(at)nokia(dot)com> wrote:

Hi Craig,

Thanks for the response.

Scenario tried here is restart of the system multiple times. sh-QUIT core
is generated when Postgres is invoking the shell to exit and may not be due
to kernel or file system issues. I will try to reproduce the issue with
dmesg output being printed.

However, is there any instance in Postgres where 'sh -c exit 1' will be
invoked?

Most likely it's used directly or indirectly by an archive_commsnd or
restore_comand you have configured.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-07-05 14:43:17 Re: BUG #14735: A core dumpe is reported in the source of PostgreSQL
Previous Message Devrim Gündüz 2017-07-05 09:32:44 Re: BUG #14728: Missing "pg_config.h" in the "postgresql96-devel" package

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Sharma 2017-07-05 12:52:29 Re: Partition : Append node over a single SeqScan
Previous Message amul sul 2017-07-05 12:38:00 Re: [POC] hash partitioning