Re: postgresql-server-8.4.4-1PGDG.el5 - ERROR: could not write block 503414 of temporary file: No space le, ft on device

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Hunsaker <badalex(at)gmail(dot)com>
Cc: ibarg(at)noao(dot)edu, pgsql-admin(at)postgresql(dot)org
Subject: Re: postgresql-server-8.4.4-1PGDG.el5 - ERROR: could not write block 503414 of temporary file: No space le, ft on device
Date: 2010-07-27 01:33:52
Message-ID: 26275.1280194432@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Alex Hunsaker <badalex(at)gmail(dot)com> writes:
> On Mon, Jul 26, 2010 at 16:01, Irene Barg <ibarg(at)noao(dot)edu> wrote:
> 2010-07-26 11:33:33 MST system_admin metadataERROR: could not write block
> 503414 of temporary file: No space le
> ft on device
> 2010-07-26 11:33:33 MST system_admin metadataHINT: Perhaps out of disk
> space?

> Ok so it looks like this is on your / (sda3) partition that only has
> 1.7G free. Its entirely possible that you have some query that needs
> to write more than that in tmp files.

"Block 503414" is a red flag here --- that means that this temp file
alone required 503414 * 8K = nearly 4Gb. I suspect /var/lib/pgsql has
been symlinked someplace else, as the root device has clearly not got
anything close to that much free space. It's quite possible that the
query involved multiple temp files, though, so maybe one of the other
partitions is getting filled.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2010-07-27 02:09:36 Re: upper and UTF-8
Previous Message Alex Hunsaker 2010-07-26 23:09:38 Re: postgresql-server-8.4.4-1PGDG.el5 - ERROR: could not write block 503414 of temporary file: No space le,ft on device