Elasticsearch - No Living Connections
See original GitHub issueThis has been mentioned before here and there…but im certain this is still a bug or connections arent pooled correctly?
Im doing the following: (it indexes 6.000.000 docs…one by one…(dont wanna use bulk imports…so lets ignore this topic for a second) I’m even waiting for an index to be complete to call the next one…still at around 16.000 entries…i always get the no more living connections error.
I tried with keepalive: true/false etc. but it seems its a connection pooling issue no?
iprange = array of item
esearch = Elasticsearch client.
function doItem(i){
process.stdout.write("Importing item: " + i + "\r");
var doc = {};
doc.index = "geoip";
doc.type = "location";
doc.body = iprange[i];
esearch.index(doc, function (err, resp) {
if(err)
trace.info(err);
i++;
if(i < len) {
doItem(i);
}
});
}
doItem(1);
Issue Analytics
- State:
- Created 9 years ago
- Reactions:26
- Comments:70 (9 by maintainers)
Top Results From Across the Web
"message":"No living connections","node_env":"production"
Go to your PC Environments. · Create a new variable,with variable name Java_Home . The variable value should be java installation path. ·...
Read more >No living connections when try to connect Elasticsearch.
Hi, when I try to use the flexmonster to connect Elasticsearch it pops up an error message and says no living connections, Please...
Read more >No Living Connections - Kibana - Discuss the Elastic Stack
To allow connections from remote users, set this parameter to a non-loopback address. server.host: "192.168.0.92" elasticsearch.hosts: ...
Read more >error 11 29 09 846 warning stats-collection Error No Living ...
I am trying to run the Kibana server, but It is showing the below error. error [11:29:09.846] [warning][stats-collection] Error: No Living ...
Read more >Kiband don't work - Google Groups
... not be obtained from Elasticsearch due to Error: No Living connections error"}. Apr 19 05:37:06 srv-siem01 kibana[968]: {"type":"log" ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just wanted to add: this bug sucks. Seeing it with latest stable ( 5.4.0 ) Restarted it several times, and just running tests against it, I hit it 99.9% of the time.
The error i see: