Re: BUG #5851: ROHS (read only hot standby) needs to be restarted manually in somecases. - Mailing list pgsql-bugs

From Fujii Masao
Subject Re: BUG #5851: ROHS (read only hot standby) needs to be restarted manually in somecases.
Date
Msg-id AANLkTinuMnkXNmZ3+hmnMNSCAq1s=03QHTWPs_PMSUar@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5851: ROHS (read only hot standby) needs to be restarted manually in somecases.  (mark <dvlhntr@gmail.com>)
Responses Re: BUG #5851: ROHS (read only hot standby) needs to be restarted manually in somecases.  ("mark" <dvlhntr@gmail.com>)
List pgsql-bugs
On Wed, Feb 9, 2011 at 6:36 AM, mark <dvlhntr@gmail.com> wrote:
> this is the recovery.conf file, see any problems with it? maybe I
> didn't do some syntax right right ?
>
> [postgres@<redacted> data9.0]$ cat recovery.conf
> standby_mode = 'on'
> primary_conninfo = 'host=<redacted> port=5432 user=postgres
> keepalives_idle=30 keepalives_interval=30 keepalives_count=30'

This setting would lead TCP keepalive to take about 930 seconds
(= 30 + 30 * 30) to detect the network outage. If you want to stop
replication as soon as the outage happens, you need to decrease
the keepalive setting values.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5872: Function call in SQL function executed only once
Next
From: "mark"
Date:
Subject: Re: BUG #5851: ROHS (read only hot standby) needs to be restarted manually in somecases.