Vamos lá!
"Qual a saída completa do comando: SELECT version(); "
>> postgres=# SELECT version();
version
----------------------------------------------------------------------------------------------
PostgreSQL 9.2.2 on x86_64-unknown-linux-gnu, compiled by gcc (Debian
4.4.5-8) 4.4.5, 64-bit
(1 registro)
"Verifique se seu PostgreSQL foi compilado com gcc 4.6.0 - tem um bug
relacionado a isso. Como foi feita a instalação do seu PostgreSQL? "
>>
root@condor:/dbprod/data# gcc --version
gcc (Debian 4.4.5-8) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> " Esta é a versão só do psql ou do servidor também?
> Verifique. Atualize imediatamente."
A versão do Postgresql instalado é a 9.2.2 -- não posso trocar de versão
no momento,pois está em produção.
> " Inclua --delete na sua linha de comando do rsync pra não ficar lotando o
> espaço no seu escravo."
> >> OK
>
> " Pode ser o tal bug no gcc. Verifique a versão dele como recomendei mais
> acima.
>
> Sua replicação está em modo síncrono? Se estiver, tente deixá-la
> assíncrona temporariamente e verifique se o problema se resolve."
>
>> Assíncrona.
"Poste aqui por favor:
Como está seu recovery.conf."
recovery.conf :
> standby_mode = 'on'
> primary_conninfo = 'host=*ip do master* port=5432 user=replicacao
> password=*senha*'
> trigger_file = '/local/script/failover.trg'
>
>
> "Apenas as configurações de replicação do postgresql.conf do mestre (grupo
> Master Servers do arquivo)."
>
>>
#------------------------------------------------------------------------------
# REPLICATION
#------------------------------------------------------------------------------
# - Sending Server(s) -
# Set these on the master and on any standby that will send replication
data.
# max number of walsender processes
max_wal_senders = 1
# (change requires restart)
# in logfile segments, 16MB
each; 0 disables
wal_keep_segments = 100
#replication_timeout = 60s # in milliseconds; 0 disables
# - Master Server -
# These settings are ignored on a standby server.
#synchronous_standby_names = '' # standby servers that provide sync rep
# comma-separated list of application_name
# from standby(s); '*' = all
#vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is
delayed
# - Standby Servers -
# These settings are ignored on a master server.
#hot_standby = on # "on" allows queries during
recovery
# (change requires restart)
#max_standby_archive_delay = 30s # max delay before canceling queries
# when reading WAL from archive;
# -1 allows indefinite delay
#max_standby_streaming_delay = 30s # max delay before canceling queries
# when reading streaming WAL;
# -1 allows indefinite delay
#wal_receiver_status_interval = 10s # send replies at least this often
# 0 disables
#hot_standby_feedback = off # send info from standby to prevent
# query conflicts
> Apenas as configurações de replicação do postgresql.conf do escravo (grupo
> Standby Servers do arquivo).
>
> []s
>
> ______________________________**____
> Flavio Henrique A. Gurgel
> Líder de Projetos Especiais
> Consultoria, Projetos & Treinamentos 4LINUX
> Tel1: +55-11.2125-4747 ou 2125-4748
> www.4linux.com.br
> email: [email protected]
> ______________________________
> FREE SOFTWARE SOLUTIONS
> ______________________________**_________________
> pgbr-geral mailing list
> [email protected].**org.br<[email protected]>
> https://listas.postgresql.org.**br/cgi-bin/mailman/listinfo/**pgbr-geral<https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral>
>
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral