Re: Postgres 8.4 on OpenIndiana would not shutdown

From: Boris Epstein <borepstein(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres 8.4 on OpenIndiana would not shutdown
Date: 2012-10-26 17:15:19
Message-ID: CADeF1XFL0-AeQ3wSURaL2cWdHCU1FzH7DFME4WefWJmNFkChdw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Oct 26, 2012 at 12:46 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Boris Epstein <borepstein(at)gmail(dot)com> writes:
> > The Postgres 8.4 would simply not shutdown for me. Don't know why:
>
> > Here's a snippet of /var/postgres/8.4/data_64/server.log seemingly
> > corresponding to these shutdown attempts:
>
> > LOG: database system was shut down at 2012-10-25 13:49:14 EDT
> > LOG: database system is ready to accept connections
> > LOG: autovacuum launcher started
> > LOG: received smart shutdown request
> > LOG: autovacuum launcher shutting down
> > LOG: shutting down
> > LOG: database system is shut down
> > LOG: database system was shut down at 2012-10-26 12:14:21 EDT
> > LOG: autovacuum launcher started
> > LOG: database system is ready to accept connections
> > LOG: received smart shutdown request
> > LOG: autovacuum launcher shutting down
> > LOG: shutting down
> > LOG: database system is shut down
> > LOG: database system was shut down at 2012-10-26 12:22:00 EDT
> > LOG: database system is ready to accept connections
> > LOG: autovacuum launcher started
>
> Looks to me like it *is* shutting down, and then something is starting
> it right back up again. Don't know how you have it installed, but if
> it's running as an auto-started service you may need to be using some
> higher-level command to stop the service.
>
> regards, tom lane
>

Tom, thanks!

Yes, that's exactly what it was, it turns out.

OpenIndiana uses SMF (svcadm) and it was what was restarting the server:)

Boris.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message D T 2012-10-26 17:43:28 Function Profiler in Postgre
Previous Message Tom Lane 2012-10-26 16:46:50 Re: Postgres 8.4 on OpenIndiana would not shutdown