Re: Why might it take so long to start up a cleanly-stopped instance?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ron Johnson <ronljohnsonjr@xxxxxxxxx> 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






[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux