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? Regards, Sandhya -----Original Message----- From: Craig Ringer [mailto:[email protected]] Sent: Friday, June 30, 2017 5:40 PM To: K S, Sandhya (Nokia - IN/Bangalore) <[email protected]> Cc: [email protected]; [email protected]; T, Rasna (Nokia - IN/Bangalore) <[email protected]>; Itnal, Prakash (Nokia - IN/Bangalore) <[email protected]> Subject: Re: [HACKERS] Postgres process invoking exit resulting in sh-QUIT core On 30 June 2017 at 17:41, K S, Sandhya (Nokia - IN/Bangalore) <[email protected]> wrote: > When we checked the process listing during the time of core generation, we > found Postgres startup process is invoking “sh -c exit 1”: > 4518 9249 0.1 0.0 155964 2036 ? Ss 15:05 0:00 postgres: > startup process waiting for 0000000100000000000002EB Looks like an archive_command or restore_command . If 'sh' is dumping core, you probably have issues at a low level in the kernel, file system, etc. Check dmesg. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
