X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8F0F8D1B4D3 for ; Wed, 7 Apr 2004 18:48:57 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 27404-03 for ; Wed, 7 Apr 2004 18:48:56 -0300 (ADT) Received: from txsnet.tx.nrcs.usda.gov (txsnet.tx.nrcs.usda.gov [199.158.131.3]) by svr1.postgresql.org (Postfix) with ESMTP id B866DD1BCB9 for ; Wed, 7 Apr 2004 18:48:52 -0300 (ADT) Received: from txtemple20d119 ([199.157.14.119]) by txsnet.tx.nrcs.usda.gov (8.9.3/8.9.3/USDA-ITC $Revision: 1.5 $) with ESMTP id QAA06054; Wed, 7 Apr 2004 16:43:41 -0500 (CDT) From: "Tom Bakken" To: "'Tom Lane'" Cc: Subject: Re: Out of space Date: Wed, 7 Apr 2004 16:36:51 -0500 Message-ID: <005301c41ce8$7062a580$770e9dc7@agwest.one.usda.gov> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0054_01C41CBE.878C9D80" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.5709 In-Reply-To: <27603.1081371413@sss.pgh.pa.us> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/128 X-Sequence-Number: 13101 This is a multi-part message in MIME format. ------=_NextPart_000_0054_01C41CBE.878C9D80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Tom, Doh!! I created that log file and let it get out of hand. OK, it's truncated and now I've got plenty of space, but it's still complaining that it can't find the xlogtemp.1405: DEBUG: database system was shut down at 2004-04-07 12:14:38 CDT DEBUG: CheckPoint record at (1, 516646732) DEBUG: Redo record at (1, 516646732); Undo record at (0, 0); Shutdown TRUE DEBUG: NextTransactionId: 28728439; NextOid: 9098648 FATAL 2: ZeroFill(/var/lib/pgsql/data/pg_xlog/xlogtemp.1405) failed: No such file or directory /usr/bin/postmaster: Startup proc 1405 exited with status 512 - abort Again, I know I didn't delete it, but regardless, I'm unsure where to go from here. Thanks for all your help. I hope we're close to a fix. Tom Bakken Information Resource Manager Texas USDA, Rural Development=20 -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 Sent: Wednesday, April 07, 2004 3:57 PM To: Tom Bakken Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Out of space=20 "Tom Bakken" writes: > Here's the situation: > [root@linux04 init.d]# cd /var/lib/pgsql/data/ > [root@linux04 data]# ls -l > total 1494316 > -rw------- 1 postgres postgres 4 Jun 21 2001 PG_VERSION > drwx------ 6 postgres postgres 4096 Sep 17 2003 base > drwx------ 2 postgres postgres 4096 Oct 27 13:40 global > -rw-r--r-- 1 root root 7640 Jun 29 2001 h > -rw------- 1 postgres postgres 9070 Mar 2 10:56 pg_hba.conf > -rw------- 1 postgres postgres 1118 Jun 21 2001 pg_ident.conf > -rw------- 1 postgres postgres 1528630320 Apr 7 14:26 pg_log > drwx------ 2 postgres postgres 4096 Apr 7 14:26 pg_xlog > -rw------- 1 postgres postgres 3137 Jun 21 2001 postgresql.conf > -rw------- 1 postgres postgres 52 Apr 7 14:26 postmaster.opts > [root@linux04 data]# ls -l pg_xlog/ > total 16404 > -rw------- 1 postgres postgres 16777216 Apr 7 12:14 000000010000001E > I do have a limited amount of space in the partition but I'd like to get = =3D > rid of more. Just not sure what to delete if anything. Hm, what is that pg_log file? It's not part of the normal Postgres fileset. Is it perhaps just the postmaster's stderr output? If so, you're in luck: truncate that as you see fit, and you'll have some breathing room. regards, tom lane ------=_NextPart_000_0054_01C41CBE.878C9D80 Content-Type: text/x-vcard; name="Tom.Bakken@tx.usda.gov.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Tom.Bakken@tx.usda.gov.vcf" BEGIN:VCARD VERSION:2.1 N:Bakken;Tom FN:Tom.Bakken@tx.usda.gov ORG:Texas State Office TEL;WORK;VOICE:(254) 742-9726 TEL;WORK;FAX:(254) 742-9709 ADR;WORK;ENCODING=3DQUOTED-PRINTABLE:;;101 South Main=3D0D=3D0ASuite 102;Te= mple;TX;76502;United States of America LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:101 South Main=3D0D=3D0ASuite 102=3D= 0D=3D0ATemple, TX 76502=3D0D=3D0AUnited States of Am=3D erica EMAIL;PREF;INTERNET:Tom.Bakken@tx.usda.gov REV:20040301T143942Z END:VCARD ------=_NextPart_000_0054_01C41CBE.878C9D80--