Re: pg_stat_replication became empty suddenly

Поиск
Список
Период
Сортировка
Искать
От
ascot.moss@gmail.com
Тема
Re: pg_stat_replication became empty suddenly
Дата
Msg-id
FDE6E6E5-860E-424F-A58C-213AEFBC042F@gmail.com
Ответ на
Список
Дерево обсуждения
Snapshot backups James Sewell <james.sewell@lisasoft.com>
Re: Snapshot backups Magnus Hagander <magnus@hagander.net>
Re: Snapshot backups James Sewell <james.sewell@lisasoft.com>
Re: Snapshot backups James Sewell <james.sewell@lisasoft.com>
Re: Snapshot backups Amit Langote <amitlangote09@gmail.com>
Re: Snapshot backups James Sewell <james.sewell@lisasoft.com>
Re: Snapshot backups Jeff Janes <jeff.janes@gmail.com>
Re: Snapshot backups Tom Lane <tgl@sss.pgh.pa.us>
Re: Snapshot backups Alban Hertroys <haramrae@gmail.com>
Re: Snapshot backups Tom Lane <tgl@sss.pgh.pa.us>
Re: Snapshot backups Bruce Momjian <bruce@momjian.us>
Re: Snapshot backups James Sewell <james.sewell@lisasoft.com>
pg_stat_replication became empty suddenly "ascot.moss@gmail.com" <ascot.moss@gmail.com>
Re: pg_stat_replication became empty suddenly "ascot.moss@gmail.com" <ascot.moss@gmail.com>
Re: pg_stat_replication became empty suddenly "ascot.moss@gmail.com" <ascot.moss@gmail.com>
psql: FATAL: the database system is starting up "ascot.moss@gmail.com" <ascot.moss@gmail.com>
Re: psql: FATAL: the database system is starting up Haribabu kommi <haribabu.kommi@huawei.com>
Re: psql: FATAL: the database system is starting up "ascot.moss@gmail.com" <ascot.moss@gmail.com>
Re: pg_stat_replication became empty suddenly Jerry Sievers <gsievers19@comcast.net>
Re: pg_stat_replication became empty suddenly "ascot.moss@gmail.com" <ascot.moss@gmail.com>
Thanks. I increased the wal_keep_segments  and it works well now.

On 7 Aug 2013, at 12:43 AM, Jerry Sievers wrote:

> "ascot.moss@gmail.com"  writes:
> 
>> Hi,
>> 
>> I just tried another round of tests, without running  "sync; echo 3 > /proc/sys/vm/drop_caches',
>> still got the same error,  following FATAL errors are found in pg_log (slave), can anyone please advise how to resolve
>> this error?
>> 
>> regards
>> 
>> LOG:  entering standby mode
>> LOG:  consistent recovery state reached at 11/42000318
>> LOG:  redo starts at 11/42000280
>> LOG:  invalid record length at 11/42000318
>> LOG:  database system is ready to accept read only connections
>> LOG:  streaming replication successfully connected to primary
>> FATAL:  could not send data to WAL stream: server closed the connection unexpectedly
>> This probably means the server terminated abnormally
>> before or while processing the request.
>> LOG:  unexpected pageaddr 10/D2EC0000 in log file 18, segment 5, offset 15466496
>> LOG:  streaming replication successfully connected to primary
>> FATAL:  could not receive data from WAL stream: FATAL:  requested WAL segment 000000010000001200000005 has already
>> been removed
>> LOG:  streaming replication successfully connected to primary
>> FATAL:  could not receive data from WAL stream: FATAL:  requested WAL segment 000000010000001200000005 has already
> 
> Raise wal_keep_segments on your master configs ,and HUP and/or start
> your standby a lot sooner after it's reloaded.
> 
> 
>> 
> 
> -- 
> Jerry Sievers
> Postgres DBA/Development Consulting
> e: postgres.consulting@comcast.net
> p: 312.241.7800


В списке pgsql-general по дате отправления
От: liuyuanyuan
Дата:
От: BladeOfLight16
Дата:
Сообщение: Staging Database
FAQ