Re: pg_sorttemp files

From: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_sorttemp files
Date: 2001-10-20 11:44:20
Message-ID: 20011020114420.3E9BF1A71@druid.net
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.

--
D'Arcy J.M. Cain <darcy(at){druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-10-20 11:45:22 Re: Catalogs design question
Previous Message Chris Bitmead 2001-10-20 11:32:10 Unable to upgrade to 7.2