pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nacho Mezzadra <nachomezzadra@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5603: pg_tblspc and pg_twoface directories get deleted when starting up service
Date: Wed, 19 Jan 2011 14:41:33 -0500
Message-ID: <25153.1295466093@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTinehr4n0Xp7nuFXh42awArcbd6+kUcLcfDLMcnT@mail.gmail.com>
References: <201008051846.o75Ikrl0057510@wwwmaster.postgresql.org>
	<AANLkTinSJ3pShVJBAYAKgpjdPWTHd0omBeJ7mwGRxzQi@mail.gmail.com>
	<20872.1281413496@sss.pgh.pa.us>
	<AANLkTinehr4n0Xp7nuFXh42awArcbd6+kUcLcfDLMcnT@mail.gmail.com>

Nacho Mezzadra <nachomezzadra@gmail.com> writes:
> Tom, Robert, sorry I am coming back to you after a while, but we still
> have the same issue.  This has been happening in our environments, but
> now it is also happening in customers' environments -which we do not
> set up- and it is also happening.  All environments are always Red Hat
> Enterprise 5.3.

You still haven't given any reason to think this is a Postgres bug,
nor indeed any information beyond what you said originally.

One thing that strikes me is that both pg_tblspc and pg_twophase are
empty and unused during normal operation (if you're not using the
relevant features).  They are scanned during postmaster startup though,
which is why you're getting failures then.  I suspect that these
subdirectories are not in fact getting removed during PG shutdown or
restart, but were deleted some time before that.  In particular I wonder
if somebody's loosed an overaggressive tmp-file-cleaning script on your
whole filesystem.  Something that was removing empty directories that
hadn't been accessed in awhile could explain this.

			regards, tom lane



view thread (5+ messages)

Message-ID: <25153.1295466093@sss.pgh.pa.us>
Permalink:  ../25153.1295466093@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25153.1295466093@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nachomezzadra@gmail.com, robertmhaas@gmail.com
  Subject: Re: BUG #5603: pg_tblspc and pg_twoface directories get deleted when starting up service
  In-Reply-To: <25153.1295466093@sss.pgh.pa.us>
  References: <201008051846.o75Ikrl0057510@wwwmaster.postgresql.org> <AANLkTinSJ3pShVJBAYAKgpjdPWTHd0omBeJ7mwGRxzQi@mail.gmail.com> <20872.1281413496@sss.pgh.pa.us> <AANLkTinehr4n0Xp7nuFXh42awArcbd6+kUcLcfDLMcnT@mail.gmail.com> <25153.1295466093@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox