pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Bakken <tom.bakken@tx.usda.gov>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Out of space
Date: Wed, 7 Apr 2004 15:45:37 -0500
Message-ID: <003701c41ce1$48310d10$770e9dc7@agwest.one.usda.gov> (raw)
In-Reply-To: <27072.1081367838@sss.pgh.pa.us>

Tom,

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 rid
of more.  Just not sure what to delete if anything.

Tom Bakken
Information Resource Manager
Texas USDA, Rural Development 

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
Sent: Wednesday, April 07, 2004 2:57 PM
To: Tom Bakken
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Out of space 


"Tom Bakken" <tom.bakken@tx.usda.gov> writes:
> FATAL 2:  ZeroFill(/var/lib/pgsql/data/pg_xlog/xlogtemp.1091) failed: No
> such file or directory
> /usr/bin/postmaster: Startup proc 1091 exited with status 512 - abort

> I'm sure I didn't delete it.

This is just trying to make a new, empty xlog file.  I don't quite
understand why the errno is "No such file or directory" --- you wouldn't
think that write() could return that errno.  But the most likely bet is
that you don't yet have enough free space on the disk.  These files are
16MB each, and it could be that more than one needs to be made.

How much stuff is there in /var/lib/pgsql/data/pg_xlog anyway?  I think
that 7.1.2 predates some changes we made to keep down the number of xlog
files that would be kept around.

			regards, tom lane

Attachments:

Tom.Bakken@tx.usda.gov.vcf (text/x-vcard, 446B) download 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=QUOTED-PRINTABLE:;;101 South Main=0D=0ASuite 102;Temple;TX;76502;United States of America LABEL;WORK;ENCODING=QUOTED-PRINTABLE:101 South Main=0D=0ASuite 102=0D=0ATemple, TX 76502=0D=0AUnited States of Am= erica EMAIL;PREF;INTERNET:Tom.Bakken@tx.usda.gov REV:20040301T143942Z END:VCARD

view thread (16+ messages)  latest in thread

Message-ID: <003701c41ce1$48310d10$770e9dc7@agwest.one.usda.gov>
Permalink:  ../003701c41ce1$48310d10$770e9dc7@agwest.one.usda.gov/
Also on:    postgresql.org/message-id/003701c41ce1$48310d10$770e9dc7@agwest.one.usda.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tom.bakken@tx.usda.gov, tgl@sss.pgh.pa.us
  Subject: Re: Out of space
  In-Reply-To: <003701c41ce1$48310d10$770e9dc7@agwest.one.usda.gov>
  References: <27072.1081367838@sss.pgh.pa.us> <003701c41ce1$48310d10$770e9dc7@agwest.one.usda.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox