Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VDsHq-0008LU-AX for pgsql-admin@arkaria.postgresql.org; Mon, 26 Aug 2013 08:36:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VDsHp-0000Xd-Ll for pgsql-admin@arkaria.postgresql.org; Mon, 26 Aug 2013 08:36:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VDsHo-0000XX-Sd for pgsql-admin@postgresql.org; Mon, 26 Aug 2013 08:36:32 +0000 Received: from mail3.neteven.com ([37.59.178.241]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VDsHm-0005cI-D4 for pgsql-admin@postgresql.org; Mon, 26 Aug 2013 08:36:32 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail3.neteven.com (Postfix) with ESMTP id 1FDFF140B44 for ; Mon, 26 Aug 2013 10:36:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail3.neteven.com Received: from mail3.neteven.com ([127.0.0.1]) by localhost (mail3.neteven.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qCI1q5qFfH4W for ; Mon, 26 Aug 2013 10:36:28 +0200 (CEST) Received: from [192.168.1.34] (neteven-sdsl2m-156-170.cnt.nerim.net [194.79.156.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail3.neteven.com (Postfix) with ESMTPSA id 6AC8C140969 for ; Mon, 26 Aug 2013 10:36:28 +0200 (CEST) Message-ID: <521B139E.6000603@neteven.com> Date: Mon, 26 Aug 2013 10:36:46 +0200 From: Thomas SIMON User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Root partition full of files in /var/lib/postgresql/9.1/main/pg_xlog References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -4.3 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hi, Have you defined an archive_command ? What is your value for checkpoint_segments, checkpoint_timeout & checkpoint_completion_target ? Thomas Le 26/08/2013 05:10, Ed Tarento a écrit : > Hi admins > I'm a newbie, I hope this is the right group and admit I have little > postgres experience. I'm working on a VM I can easily re-install so > killing it doesn't matter. The dir is full of 508 files, the last few > of which look like: > > -rw------- 1 postgres postgres 16777216 Aug 25 02:19 > 0000000100000001000000FA > -rw------- 1 postgres postgres 16777216 Aug 25 02:39 > 0000000100000001000000FB > drwx------ 2 postgres postgres 4096 Jun 13 13:24 archive_status > root@operations:/var/lib/postgresql/9.1/main/pg_xlog# > > I have root access to the machine but I don't have any postgres > access, other than sudo of course. I've tried stopping my app, > ensuring nothing postgres appears in ps and tried deleting the files > but when I restarted my app, it didn't work. I've checked (Google) as > many posts as possible but can't find exactly what I need, i.e. the > method of removing the offending files cleanly. > > Here's as much as I can tell you > Debian 64 bit running on ESXi > postgres 9.1 > > I have some *nix experience, can use vi and sudo and the like > > I hope you can help > Thanks -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin