Re: Reducing pg_ctl's reaction time
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Michael Paquier <michael.paquier@gmail.com>,
PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-06-26T20:19:16Z
Lists: pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes: > The 10 fold increase in log spam during long PITR recoveries is a bit > unfortunate. > 9153 2017-06-26 12:55:40.243 PDT FATAL: the database system is starting up > 9154 2017-06-26 12:55:40.345 PDT FATAL: the database system is starting up > 9156 2017-06-26 12:55:40.447 PDT FATAL: the database system is starting up > 9157 2017-06-26 12:55:40.550 PDT FATAL: the database system is starting up > ... > I can live with it, but could we use an escalating wait time so it slows > back down to once a second after a while? Sure, what do you think an appropriate behavior would be? regards, tom lane
Commits
-
Change pg_ctl to detect server-ready by watching status in postmaster.pid.
- f13ea95f9e47 10.0 landed
-
Reduce pg_ctl's reaction time when waiting for postmaster start/stop.
- c61559ec3a41 10.0 landed