Re: [HACKERS] signal and startup process

2010-10-14 Thread Simon Riggs
Committed. On Thu, 2010-10-14 at 12:57 +0900, Fujii Masao wrote: > Hi, > > It takes nonsensically extra several seconds to shut down the standby server. > This is because the startup process cannot respond immediately the SIGTERM > signal sent by postmaster for the shutdown while it's sleeping on

[HACKERS] signal and startup process

2010-10-14 Thread Fujii Masao
Hi, It takes nonsensically extra several seconds to shut down the standby server. This is because the startup process cannot respond immediately the SIGTERM signal sent by postmaster for the shutdown while it's sleeping on WaitLatch. This delays the shutdown for up to the sleep time on WaitLatch (