Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Excessive “consul: Health changed to #XXX” messages in fabio's log #205

Closed
hynek opened this issue Dec 12, 2016 · 7 comments
Closed
Labels

Comments

@hynek
Copy link

hynek commented Dec 12, 2016

Hi,

it feels awkward to ask here but it seems to be the right place…

I’ve got Fabio up and running without any issues except, that I’m getting very frequent log entries like this:

Dec 12 18:39:41 c-b4fa fabio[25680]: 2016/12/12 18:39:41 [INFO] consul: Health changed to #54416876
Dec 12 18:39:41 c-b4fa fabio[25680]: 2016/12/12 18:39:41 [INFO] consul: Health changed to #54416877
Dec 12 18:39:43 c-b4fa fabio[25680]: 2016/12/12 18:39:43 [INFO] consul: Health changed to #54416882
Dec 12 18:39:43 c-b4fa fabio[25680]: 2016/12/12 18:39:43 [INFO] consul: Health changed to #54416883
Dec 12 18:39:44 c-b4fa fabio[25680]: 2016/12/12 18:39:44 [INFO] consul: Health changed to #54416884
Dec 12 18:39:48 c-b4fa fabio[25680]: 2016/12/12 18:39:48 [INFO] consul: Health changed to #54416894

They usually come at least once per second. Is that normal or is something weird about our Consul/Vault/Nomad/Fabio setup?

TIA, Fabio’s great!

@magiconair
Copy link
Contributor

magiconair commented Dec 12, 2016 via email

@magiconair magiconair changed the title Excessive “consul: Health changed to #XXX” messages in fabio's log Q: Excessive “consul: Health changed to #XXX” messages in fabio's log Dec 13, 2016
@magiconair
Copy link
Contributor

@hynek As for the awkwardness see my comment on #203. Please feel free to ask at any time.

@magiconair
Copy link
Contributor

@hynek I'm going to close this issue for now. Feel free to comment and I'll re-open it if necessary.

@hynek
Copy link
Author

hynek commented Dec 23, 2016

yes thank you, I’m still investigating :-/

nothing is flapping but i'm not sure what a lagging health check would be? in any case this is probably not a fabio issue…

happy holidays anyways. :)

@jorgemarey
Copy link

jorgemarey commented Sep 14, 2017

Hi, I've seen this exact same behaviour on my cluster. Just to throw some ideas, I've been debugging and found that is nomad the one causing this.

The check that is performed on nomad is on /v1/agent/servers which outputs the servers of the cluster.

The problem is that this array is not ordered and changes randomly (it's not random actually, but it is not guaranteed to be the same) on each request, so when there's more than one the check becomes the one causing the blocking query to end.

I'll open an issue on nomad to see what they think about this.

@magiconair
Copy link
Contributor

@jorgemarey I'll ping them as well. Thx.

@dadgar
Copy link

dadgar commented Sep 14, 2017

This PR should fix the issue: hashicorp/nomad#3214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants