[pgpool-general: 6399] Re: How is health_check_timeout different than connect_timeout?

Takuma Hoshiai hoshiai at sraoss.co.jp
Fri Jan 18 10:06:04 JST 2019


Hi,

On Wed, 16 Jan 2019 10:07:07 -0600
Alexander Dorogensky <amazinglifetime at gmail.com> wrote:

> According to pgpool-II 4.0.2 documentation
> 
> *health_check_timeout (integer)*
> > Specifies the timeout in seconds to give up connecting to the backend
> > PostgreSQL if the TCP connect does not succeed within this time.
> 
> 
> *connect_timeout (integer)*
> > Specifies the amount of time in milliseconds before giving up connecting
> > to backend using connect() system call. Default is 10000 ms (10 second).
> > The flaky network user may want to increase the value. 0 means no timeout.
> 
> 
> Is health_check_timeout a TCP socket connect timeout and connect_timeout a
> PostgreSQL connect timeout?

No, connect_timeout is  TCP socket connect timeout. 
health_check_timeout is PostgreSQL connect timeout(including TCP socket connect time).



-- 
Takuma Hoshiai <hoshiai at sraoss.co.jp>



More information about the pgpool-general mailing list