Re: postmaster.pid disappeared

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Junaili Lie <junaili(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: postmaster.pid disappeared
Date: 2005-05-24 19:09:24
Message-ID: 4880.1116961764@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Junaili Lie <junaili(at)gmail(dot)com> writes:
> I am running postgresql 7.4.8 on solaris 10 (and I compile and
> installed slony). Everytime I am trying to reload the configuration
> using pg_ctl reload -D $PGDATA, it deleted the postmaster.pid and
> didn't create a new one.

That's very strange. The pg_ctl script itself doesn't delete
the postmaster.pid file under any circumstances (unless maybe
you are using a locally modified version?), and the postmaster
shouldn't delete it either unless exiting. Can you determine
exactly where the unlink call is coming from? strace or local
equivalent may help.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Cramer 2005-05-24 19:12:28 Re: IN/OUT parameters
Previous Message Tom Lane 2005-05-24 19:03:59 Re: IN/OUT parameters