Re: Postgres crash? could not write to log file: No space left on device

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Yuri Levinsky" <yuril(at)celltick(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Postgres crash? could not write to log file: No space left on device
Date: 2013-06-25 13:46:47
Message-ID: 8881.1372168007@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Yuri Levinsky" <yuril(at)celltick(dot)com> writes:
> I have the following issue on Sun Solaris 10. PostgreSQL version is
> 9.2.3. The wall logging is minimal and no archiving. The DB restarted
> several time, the box is up for last 23 days. The PostgreSQL
> installation and files under /data/postgres that is half empty. Is it
> some other destination that might cause the problem? Can I log the space
> consumption and directory name where the problem is happening by some
> debug level or trace setting?

> PANIC: could not write to log file 81, segment 125 at offset 13959168,
> length 1392640: No space left on device

That's definitely telling you it got ENOSPC from a write in
$PGDATA/pg_xlog. Maybe you have a user-specific space quota affecting
the postgres account?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Yuri Levinsky 2013-06-25 14:10:33 Re: Postgres crash? could not write to log file: No spaceleft on device
Previous Message Yuri Levinsky 2013-06-25 12:23:00 Postgres crash? could not write to log file: No space left on device