Re: [HACKERS] postmaster.pid not visible

From: "Douglas McNaught" <doug(at)mcnaught(dot)org>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Decibel! <decibel(at)decibel(dot)org>, cheriyamoozhiyilcinu(at)yahoo(dot)co(dot)in, "pgsql-general List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] postmaster.pid not visible
Date: 2008-07-17 19:21:43
Message-ID: 5ded07e00807171221i8f675b2s58aef0be3a09872@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thu, Jul 17, 2008 at 2:43 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I was wondering if the postmaster was running in some other data
> directory than the OP thought. I've never heard of anything just
> randomly removing a .pid file from a data directory; and it would
> be extremely dangerous if that did happen, since the pidfile is the
> main interlock against starting two postmasters in the same directory.

Maybe somebody's cleanup script was deleting old files in /var/run
(which I agree is a really bad idea).

-Doug

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ismael .... 2008-07-17 20:22:49 Re: deleting the master but not the detail
Previous Message Stephan Szabo 2008-07-17 18:58:03 Re: deleting the master but not the detail

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonah H. Harris 2008-07-17 20:24:28 Re: [PATCH]-hash index improving
Previous Message Abhijit Menon-Sen 2008-07-17 18:47:21 Re: [PATCH] "\ef <function>" in psql