Re: regarding postmaster.pid file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: "surabhi(dot)ahuja" <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in>, pgsql-general(at)postgresql(dot)org
Subject: Re: regarding postmaster.pid file
Date: 2005-11-25 17:10:17
Message-ID: 23399.1132938617@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greg Stark <gsstark(at)mit(dot)edu> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>> You do realize that postmaster.pid only takes 100 or so bytes? If you
>> are out of space on the database partition, moving the pid file would
>> *not* help measurably.

> I think he's thinking the other way around. If the file system does
> fill up he wants postgres to still be able to start up.

With zero space left, it's unlikely to get far; I repeat my statement
that moving postmaster.pid alone is a useless activity. (It would be
an incredibly dangerous thing to do anyway, since dissociating
postmaster.pid from the data directory it's supposed to protect would
substantially degrade its trustworthiness as a lock file.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Manuel Sugawara 2005-11-25 17:18:55 Regular expressions w localization problem
Previous Message Jaime Casanova 2005-11-25 16:50:26 Re: Syntax Error in COPY