Re: [HACKERS] A note about SIGTERM illusion and reality

2008-01-12 Thread Tom Lane
I wrote: > After digging in the man page for init(8) on a couple of machines, > I realized that the SIGTERM-then-SIGKILL behavior only applies to > processes that are launched directly by init. Actually, after further experimentation, it seems this is very platform-dependent. Current Linux (teste

[HACKERS] A note about SIGTERM illusion and reality

2008-01-11 Thread Tom Lane
If you've paid any attention to our signal handling and shutdown procedures, you know that there is a whole lot of design and logic based on the assumption that during a forced system shutdown, we will see SIGTERM delivered to all PG processes, with a little bit of grace time before we get SIGKILL'