[pgpool-general: 744] Re: Watchdog configuration parameters
Yugo Nagata
nagata at sraoss.co.jp
Tue Jul 17 12:18:25 JST 2012
> Supose wd_interval = 10 and wd_life_point = 2
>
> It means pgpool sends the query "SELECT 1" to another pgpool each 10 seconds and waits for a response in 2 seconds at most. If there is not response in 2 seconds, then the watchdog process is started?
No.
In this case, the watchdog process sends the query "SELECT 1" to another pgpool
every 10 seconds. If there is no response in 2 trials, then the pgpool is
considered to be DOWN.
On Mon, 16 Jul 2012 22:35:16 -0430
Lazáro Rubén García Martínez <lgarciam at vnz.uci.cu> wrote:
> Hello everyone in the list.
>
> I don´t understand very well the explanation about this configurations parameters related with watchdog functionality.
>
> wd_interval: This parameter specifies the interval between life checks of pgpool-II in second.
>
> wd_life_point: The times to retry a failed life check of pgpool-II.
>
> wd_lifecheck_query: Actual query to check pgpool-II. Default is "SELECT 1"
>
> Supose wd_interval = 10 and wd_life_point = 2
>
> It means pgpool sends the query "SELECT 1" to another pgpool each 10 seconds and waits for a response in 2 seconds at most. If there is not response in 2 seconds, then the watchdog process is started?
>
> Regards.
>
> Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!
> http://www.antiterroristas.cu
> http://justiciaparaloscinco.wordpress.com
> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general
--
Yugo Nagata <nagata at sraoss.co.jp>
SRA OSS, Inc. Japan
More information about the pgpool-general
mailing list