Re: pg_sorttemp files

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_sorttemp files
Date: 2001-10-20 16:38:06
Message-ID: 200110201638.f9KGc7X16270@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Thus spake Tom Lane
> > darcy(at)druid(dot)net (D'Arcy J.M. Cain) writes:
> > >> BTW, if you are seeing unreclaimed sorttemp files in a recent release
> > >> (7.0 or later), I'd like to know about it. That shouldn't happen,
> > >> short of a backend crash anyway...
> >
> > > Well, I had over 6,000 of these files. This database is about a year old.
> > > I haven't seen all that many backend crashes in that time. I guess I better
> > > keep a close eye on them.
> >
> > Wow! Did you happen to note how many distinct PIDs were accounted for?
> > That would give us some idea of how many lossage events there were.
>
> I think there were about 25 or so.
>
> Perhaps these files could be cleaned up on startup.

The will be cleaned up on postmaster startup in 7.2.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-10-20 16:42:24 Re: To Postgres Devs : Wouldn't changing the select limit
Previous Message Tom Lane 2001-10-20 16:36:16 Re: Error while restoring database