[pgpool-general: 2781] Re: timeout Watchdog
    Yugo Nagata 
    nagata at sraoss.co.jp
       
    Mon Apr 21 11:49:38 JST 2014
    
    
  
Hi,
On Tue, 15 Apr 2014 16:00:50 -0300
Thomaz Luiz Santos <thomaz.santos at gmail.com> wrote:
> I wonder if it is possible to configure the watchdog timeout, I've been
> doing some testing, and test the server timeout slave was waiting for the
> master, the slave is to let take over as master if the master does not
> respond for a period of time . ?
> 
> in the pgpool.conf
> health_check_timeout = 5
health_check_timeout is for timeout of "health check", that is about
backend PostgreSQL server.
http://www.pgpool.net/docs/pgpool-II-3.2.8/doc/pgpool-en.html#HEALTH_CHECK_TIMEOUT
In watchdog of 3.2, pgpool issues a query wd_lifecheck_query ("SELECT 1") to
other pgpool every wd_interval seconds, and if this fails wd_life_point times, 
pgpool regard the other as down. 
http://www.pgpool.net/docs/pgpool-II-3.2.8/doc/pgpool-en.html#WD_INTERVAL
But, parameter to configure timeout for watchdog doesn't exist.
Are you requiring this?
> 
> but not work.
> 
> pgpool 3.2.4
> 
> -- 
> ------------------------------
> Thomaz Luiz Santos
> Linux User: #359356
> http://thomaz.santos.googlepages.com/
-- 
Yugo Nagata <nagata at sraoss.co.jp>
    
    
More information about the pgpool-general
mailing list