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 6D14ED1D903 for ; Thu, 8 Apr 2004 10:14:49 -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 25364-06 for ; Thu, 8 Apr 2004 10:14:44 -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 9751BD1D2B9 for ; Thu, 8 Apr 2004 10:14:41 -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 IAA04464; Thu, 8 Apr 2004 08:17:16 -0500 (CDT) From: "Tom Bakken" To: "'Tom Lane'" Cc: Subject: Re: Out of space Date: Thu, 8 Apr 2004 08:10:25 -0500 Message-ID: <001201c41d6a$db7bd080$770e9dc7@agwest.one.usda.gov> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0013_01C41D40.F2A83980" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.5709 In-reply-to: <5003.1081376670@sss.pgh.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/143 X-Sequence-Number: 13116 This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C41D40.F2A83980 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Tom, I'm not sure how to check about the postgres user disk space limit issue. I tried storing a rather large file on the postgres partition as the postgres user and had no problem. I'm more suspicious of the file stored in: [root@linux04 data]# ls -l /var/lib/pgsql/data/pg_xlog/ total 16404 -rw------- 1 postgres postgres 16777216 Apr 7 12:14 000000010000001E Is it typical? It doesn't look it. Anyway, I've got plenty of space but am unsure of the next step. 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 5:25 PM To: Tom Bakken Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Out of space=20 "Tom Bakken" writes: > 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: > FATAL 2: ZeroFill(/var/lib/pgsql/data/pg_xlog/xlogtemp.1405) failed: No > such file or directory I think the "no such file" errno is probably actively misleading. I took another look at the CVS logs and realized that in 7.1.2, there is no guarantee that that message actually reflects the cause of the write failure --- if write() indicates it couldn't write all the bytes, but does not set errno, then the reported errno will be left over from the last failed operation. We had patched this by 7.1.3, which is the version I was looking at locally. Since ENOENT can't be returned by write() AFAIK, it seems certain that this is indeed a leftover errno setting. In short, I still think you are running into some kind of out-of-disk-space failure. I'm not sure what, but you might look to whether you've exceeded the postgres user's disk space quota, or anything along that line. Keep in mind also that an unprivileged user account normally can't fill the disk as full as root can. regards, tom lane ------=_NextPart_000_0013_01C41D40.F2A83980 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_0013_01C41D40.F2A83980--