public inbox for [email protected]
help / color / mirror / Atom feedWhy might it take so long to start up a cleanly-stopped instance?
2+ messages / 2 participants
[nested] [flat]
* Why might it take so long to start up a cleanly-stopped instance?
@ 2024-12-14 18:28 Ron Johnson <[email protected]>
2024-12-14 21:42 ` Re: Why might it take so long to start up a cleanly-stopped instance? Tom Lane <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Ron Johnson @ 2024-12-14 18:28 UTC (permalink / raw)
To: pgsql-admin
PG 14.15 on RHEL 7.9
This is a rather small system, and only one or two user connections existed
at the time.
$ pg_ctl stop -wt9999 && pg_ctl start -wt9999
waiting for server to shut down........... done
server stopped
waiting for server to
start.................................................................................................................................................................................................................................2024-12-14
13:21:10.820 EST 24567 00000 LOG: 00000:
redirecting log output to logging collector process
2024-12-14 13:21:10.820 EST 24567 00000 HINT:
Future log output will appear in directory "/var/log/postgresql".
2024-12-14 13:21:10.820 EST 24567 00000 LOCATION:
SysLogger_Start, syslogger.c:674
. done
server started
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Why might it take so long to start up a cleanly-stopped instance?
2024-12-14 18:28 Why might it take so long to start up a cleanly-stopped instance? Ron Johnson <[email protected]>
@ 2024-12-14 21:42 ` Tom Lane <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2024-12-14 21:42 UTC (permalink / raw)
To: Ron Johnson <[email protected]>; +Cc: pgsql-admin
Ron Johnson <[email protected]> writes:
> $ pg_ctl stop -wt9999 && pg_ctl start -wt9999
> waiting for server to shut down........... done
> server stopped
> waiting for server to
> start.................................................................................................................................................................................................................................2024-12-14
> 13:21:10.820 EST 24567 00000 LOG: 00000:
> redirecting log output to logging collector process
> 2024-12-14 13:21:10.820 EST 24567 00000 HINT:
> Future log output will appear in directory "/var/log/postgresql".
> 2024-12-14 13:21:10.820 EST 24567 00000 LOCATION:
> SysLogger_Start, syslogger.c:674
> . done
> server started
That's quite odd: the delay evidently happens before SysloggerStart,
which is done mighty early. Perhaps strace'ing the start would yield
insight.
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-12-14 21:42 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-12-14 18:28 Why might it take so long to start up a cleanly-stopped instance? Ron Johnson <[email protected]>
2024-12-14 21:42 ` Tom Lane <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox