Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 482CA63396E for ; Fri, 19 Feb 2010 10:40:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 32108-10 for ; Fri, 19 Feb 2010 14:40:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id B57B3633782 for ; Fri, 19 Feb 2010 10:40:15 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o1JEeCZg002641; Fri, 19 Feb 2010 09:40:12 -0500 (EST) To: Kevin Johnson cc: pgsql-admin@postgresql.org Subject: Re: pg_subtrans In-reply-to: <4B7EA146.5060501@noaa.gov> References: <4B7EA146.5060501@noaa.gov> Comments: In-reply-to Kevin Johnson message dated "Fri, 19 Feb 2010 09:33:42 -0500" Date: Fri, 19 Feb 2010 09:40:12 -0500 Message-ID: <2640.1266590412@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.11 tagged_above=-10 required=5 tests=BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 201002/148 X-Sequence-Number: 33751 Kevin Johnson writes: > I am attempting to get information on the pg_subtrans directory. I > found this morning that one had a large number of files queued in it. > It filled the disk partition on which pgdata resides. After moving, > linking and restarting as a temporary solution, the engine properly > worked off these files. So, I'm trying now to get to the root cause of > why it filled in the first place -- however I'm not sure when postgres > engine uses this directory. I've searched the documentation and mailing > list archive, but can't find much. Can anyone give me a link or some > more information? I don't recall the exact horizon for pg_subtrans offhand, but I'm pretty sure that it's determined by your oldest open transaction. Look around for idle-in-transaction sessions. regards, tom lane