Re: [HACKERS] Questions regarding signal handler of postmaster - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] Questions regarding signal handler of postmaster
Date
Msg-id 20161227.092211.455348995553502281.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: [HACKERS] Questions regarding signal handler of postmaster  ("Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>)
List pgsql-hackers
> I encountered that problem with postmaster and fixed it in 9.4.0 (it's not back-patched to earlier releases because
it'srelatively complex).
 
> 
> https://www.postgresql.org/message-id/20DAEA8949EC4E2289C6E8E58560DEC0@maumau
> 
> 
> [Excerpt from 9.4 release note]
> During crash recovery or immediate shutdown, send uncatchable termination signals (SIGKILL) to child processes that
donot shut down promptly (MauMau, Álvaro Herrera)
 
> This reduces the likelihood of leaving orphaned child processes behind after postmaster shutdown, as well as ensuring
thatcrash recovery can proceed if some child processes have become “stuck”.
 

Looks wild to me:-) I hope there exists better way to solve the problem...

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

pgsql-hackers by date:

Previous
From: "Tsunakawa, Takayuki"
Date:
Subject: Re: [HACKERS] Questions regarding signal handler of postmaster
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] Questions regarding signal handler of postmaster