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

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Postgres crash? could not write to log file: No space left on device
Дата
Msg-id 1372203951.20761.4.camel@sussancws0025
обсуждение исходный текст
Ответ на Re: Postgres crash? could not write to log file: No space left on device  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Postgres crash? could not write to log file: No space left on device  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Tue, 2013-06-25 at 09:46 -0400, Tom Lane wrote:
> "Yuri Levinsky" <yuril@celltick.com> writes:
> > 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.

Either that, or write() wrote less than expected but did not set errno.
It looks like we assume ENOSPC when errno is not set.

Regards,
    Jeff Davis

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgres crash? could not write to log file: No spaceleft on device
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Postgres crash? could not write to log file: No space left on device