Search Postgresql Archives

Re: regarding postmaster.pid file

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

 



Greg Stark <gsstark@xxxxxxx> writes:
> Tom Lane <tgl@xxxxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux