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

kibana 4.4.1 in docker times out communicating with elasticsearch 2.2.0 in docker #6372

Closed
dfwcnj opened this issue Mar 1, 2016 · 2 comments

Comments

@dfwcnj
Copy link

dfwcnj commented Mar 1, 2016

the processes are communicating via a docker overlay network. to make it work at all, i am forced to change a hard coded timeout from 1500 to 10000 in health_check.js. i attached the Dockerfile and kibana.yml
with the rise of networked containers, it would be nice to have more liberal timeouts.

kc.zip

@rashidkpc
Copy link
Contributor

If the latency between your containers is that high you have a problem somewhere in your deployment.

That said, will be fixed here: #6341

@dfwcnj
Copy link
Author

dfwcnj commented Mar 2, 2016

fair assumption.

actually, the latency appears to be due to my use of docker overlay networks. the extra copy overhead introduced by a couple of veth pairs, a couple of bridges and a vxlan seems to be the problem. the curl output below shows that I am a bit outside the limit imposed by the code, but not excessively so in my opinion.

i guess that my real complaints are that there seem to be a lot of hard coded values in the code when many of them should be configurable and that the logs do not seem to be sufficiently informative for me to track down the source of my problem without guess work.
.
time curl -i http://elasticsearch01:9200/
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 305

{
"name" : "EL5",
"cluster_name" : "ULDemo",
"version" : {
"number" : "2.2.0",
"build_hash" : "8ff36d139e16f8720f2947ef62c8167a888992fe",
"build_timestamp" : "2016-01-27T13:32:39Z",
"build_snapshot" : false,
"lucene_version" : "5.4.1"
},
"tagline" : "You Know, for Search"
}

real 0m2.522s
user 0m0.004s
sys 0m0.004s

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

No branches or pull requests

2 participants