pg_sorttemp files eating my drive! - Mailing list pgsql-bugs

From Bret A. Barker
Subject pg_sorttemp files eating my drive!
Date
Msg-id 3831DFA4.8B147CCD@hypefiend.com
Whole thread Raw
Responses Re: [BUGS] pg_sorttemp files eating my drive!  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs

============================================================================

                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================



Your name               : Bret Barker
Your email address      : bret@hypefiend.com


System Configuration
---------------------
  Architecture (example: Intel Pentium)         : Intel Pentium

  Operating System (example: Linux 2.0.26 ELF)  : Linux 2.0.35 ELF

  PostgreSQL version (example: PostgreSQL-6.5.3):   PostgreSQL-6.5.3

  Compiler used (example:  gcc 2.8.0)           : gcc 2.7.2.3


Please enter a FULL description of your problem:
------------------------------------------------

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.

Any ideas what would be causing this?

My largest table is only about 2 MB.


Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

Unfortunately I'm not sure what query is causing this to happen.




If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------



--


------------------------------------------------------------------------
                                                         bret a. barker
                                    cto, gamelet.com : bret@gamelet.com
                     technical director, hypefiend : bret@hypefiend.com
                    architect, stream magazine : architect@streammag.com

pgsql-bugs by date:

Previous
From: "Bret A. Barker"
Date:
Subject: pg_sorttemps eating my drive!
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] pg_sorttemp files eating my drive!