Re: Failing to recover after panic shutdown

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Failing to recover after panic shutdown
Дата
Msg-id 20080603154724.21bf8169@mha-laptop.hagander.net
обсуждение исходный текст
Ответ на Failing to recover after panic shutdown  (Per Lauvås <per.lauvaas@mintra.no>)
Список pgsql-general
Per Lauvås wrote:
> Hi
>
> I am running Postgres 8.2 on Windows 2003 server SP2.
>
> Every now and then (2-3 times a year) our Postgres service is down
> and we need to manually start it. This is what we find:
>
> In log when going down:
> 2008-06-02 13:40:02 PANIC:  could not open file
> "pg_xlog/000000010000001C00000081" (log file 28, segment 129):
> Invalid argument

Are you by any chance running an antivirus or other "security software"
on this server?

> We are archiving WAL-segments at a remote machine, and we are copying
> non-filled WAL-segments every 10 minutes to be able to rebuild the DB
> with a maximum of 10 minutes of missing data. (I don't know if that
> has anything to do with it).

How are you copying these files? Are you saying you're actually copying
the files out of the pg_xlog directory, or are you using the
archive_command along with archive_timeout?

//Magnus

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

Предыдущее
От: Henrik
Дата:
Сообщение: Strange statistics
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Database growing. Need autovacuum help.