elasticsearch - ElasticsearchClient is creating too many connections -


i'm using elasticsearchclient dotnet client tracelistner. working extremely don't see way control total number of connections. i'm getting hundreds of connection between client , server , aren't expiring.

here's client setup:

  uri = new uri(this.elasticsearchuri);   var cc = new connectionconfiguration(uri);   cc.throwonelasticsearchserverexceptions();    this._client = new elasticsearchclient(cc, null, null,      new elasticsearch.net.jsonnet.elasticsearchjsonnetserializer() ); 

and bulk index call

  await client.bulkasync(index, "trace", bbo.toarray()); 

the connections on server this. should keep-alive changing? didn't ask keep-alive.

tcp6       0      0 172.18.124.94:9200      172.18.124.91:59641     established keepalive (5247.84/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.91:59604     established keepalive (5247.84/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.91:60160     established keepalive (6034.27/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.92:54186     established keepalive (6198.11/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.91:60269     established keepalive (6034.27/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.92:52496     established keepalive (4592.48/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.92:53365     established keepalive (4920.16/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.91:60177     established keepalive (6034.27/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.92:54042     established keepalive (5870.43/0/0) tcp6       0      0 172.18.124.94:9200      172.18.124.91:60142     established keepalive (6034.27/0/0) 


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -