Re: Do we need to do better for pg_ctl timeouts?

2019-06-24 Thread Peter Eisentraut
On 2019-06-20 18:33, Andres Freund wrote: > I wonder if we need to split the timeout into two: One value for > postmaster to acknowledge the action, one for that action to > complete. It seems to me that that'd be useful for all of starting, > restarting and stopping. > > I think we have all the n

Do we need to do better for pg_ctl timeouts?

2019-06-20 Thread Andres Freund
Hi, Right now using -w for shutting down clusters with a bit bigger shared buffers will very frequently fail, because the shutdown checkpoint takes much longer than 60s. Obviously that can be addressed by manually setting PGCTLTIMEOUT to something higher, but forcing many users to do that doesn't