[pgpool-general: 3515] health_check_period formula

James Sewell james.sewell at lisasoft.com
Mon Mar 16 16:02:53 JST 2015

Hey all,

This page
suggests that this formula must be observed (I can't see this in the doco

health_check_max_retries * (health_check_timeout+health_check_retry_delay)"
< health_check_period.

I am running on AWS and the network is pretty terrible sometimes, although
the problem isn't timeouts. When it fails connections fail straight away. I
was hoping to use these settings:

health_check_period = 30
health_check_timeout = 5
health_check_max_retries = 20
health_check_retry_delay = 2

But according the the above formula I would need a health_check_period of
20*(5+2) = 140.

I would rather avoid this and keep health_check_period at 30 seconds as I
don't want to wait 140 seconds between checks, is this OK?

I've tested with iptables blocking a node and it works, just checking that
there are no hidden gotchas?

James Sewell,
Solutions Architect

 Level 2, 50 Queen St, Melbourne VIC 3000

*P *(+61) 3 8370 8000  *W* www.lisasoft.com  *F *(+61) 3 8370 8099


The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this 
email is free of viruses or other defects. If you have received this 
communication in error, you may not copy or distribute any part of it or 
otherwise disclose its contents to anyone. Please advise the sender of your 
incorrect receipt of this correspondence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20150316/4f9609f4/attachment.html>

More information about the pgpool-general mailing list