Re: [BUGS] pg_sorttemp files eating my drive! - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] pg_sorttemp files eating my drive!
Date
Msg-id 24370.942814800@sss.pgh.pa.us
Whole thread Raw
In response to pg_sorttemp files eating my drive!  ("Bret A. Barker" <bret@hypefiend.com>)
List pgsql-bugs
"Bret A. Barker" <bret@hypefiend.com> writes:
> I just upgraded to PostgreSQL 6.5.3 from version 6.3.2 and now after a
> bit of use (this is a databased website using PHP), Postgres starts
> filling up my drive with pg_sorttemp files.  It appears that one of the
> processes gets caught up and just keep churning out more sorttemps, as
> the CPU load also hits the roof.

Hmm, I'm not aware of any circumstances under which 6.5.* is less stable
than 6.3.2 --- all my experience points in the other direction.  Can
you be more specific about what kinds of queries are causing this?
If nothing else comes to mind, I'd suggest starting the postmaster with
a -d level high enough to record query info in the postmaster log.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Bret A. Barker"
Date:
Subject: pg_sorttemp files eating my drive!
Next
From: Joachim Breuer
Date:
Subject: Table file *disappears* when error occurs