# Zen disco socket usage and port

**URL:** <https://discuss.elastic.co/t/zen-disco-socket-usage-and-port/21281>\
**Category:** Elasticsearch\
**Created:** [December 16, 2014, 8:42pm UTC](https://discuss.elastic.co/t/zen-disco-socket-usage-and-port/21281 "2014-12-16T20:42:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Baclace](https://avatars.discourse-cdn.com/v4/letter/p/cc9497/32.png) [@Paul\_Baclace](https://discuss.elastic.co/u/Paul_Baclace)\
**Post date:** [December 16, 2014, 8:42pm UTC](https://discuss.elastic.co/t/zen-disco-socket-usage-and-port/21281/1 "2014-12-16T20:42:12Z")

</div>

Is it normal for a single node elasticsearch process to open 13 sockets to  
itself? This seems like an excessive zen disco party and inexplicable. I am  
trying out v1.4.

Is it possible to set the transport protocol port?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0db13e63-9d6d-4d60-b05b-a4c0a9bd490a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0db13e63-9d6d-4d60-b05b-a4c0a9bd490a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Paul\_Baclace](https://avatars.discourse-cdn.com/v4/letter/p/cc9497/32.png) [@Paul\_Baclace](https://discuss.elastic.co/u/Paul_Baclace)\
**Post date:** [December 16, 2014, 10:08pm UTC](https://discuss.elastic.co/t/zen-disco-socket-usage-and-port/21281/2 "2014-12-16T22:08:38Z")

</div>

More info: I tried to set the transport port like this:  
-Dtransport.tcp.port=9999 on the elasticsearch command line, but it still  
uses port 9300.

On Tuesday, December 16, 2014 12:42:12 PM UTC-8, Paul Baclace wrote:

> Is it normal for a single node elasticsearch process to open 13 sockets to  
> itself? This seems like an excessive zen disco party and inexplicable. I am  
> trying out v1.4.
> 
> Is it possible to set the transport protocol port?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/27ea7a90-af23-4989-8d82-c2ba5ca27f75%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/27ea7a90-af23-4989-8d82-c2ba5ca27f75%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [December 16, 2014, 11:12pm UTC](https://discuss.elastic.co/t/zen-disco-socket-usage-and-port/21281/3 "2014-12-16T23:12:17Z")

</div>

ES uses a netty worker pool in order to be able to connect to multiples  
nodes. The size of the pool does not automatically take into consideration  
that you want a single node cluster only, it does not shrink or grow. You  
can reduce the size of the netty worker pool with the  
setting transport.netty.worker\_count

Any command line parameter must be prefixed by "es." so you should use -  
Des.transport.tcp.port=9999

Jörg

On Tue, Dec 16, 2014 at 11:08 PM, Paul Baclace [paul.baclace@gmail.com](mailto:paul.baclace@gmail.com)  
wrote:

> More info: I tried to set the transport port like this:  
> -Dtransport.tcp.port=9999 on the elasticsearch command line, but it still  
> uses port 9300.
> 
> On Tuesday, December 16, 2014 12:42:12 PM UTC-8, Paul Baclace wrote:
> 
> > Is it normal for a single node elasticsearch process to open 13 sockets  
> > to itself? This seems like an excessive zen disco party and inexplicable. I  
> > am trying out v1.4.
> > 
> > Is it possible to set the transport protocol port?
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/27ea7a90-af23-4989-8d82-c2ba5ca27f75%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/27ea7a90-af23-4989-8d82-c2ba5ca27f75%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/27ea7a90-af23-4989-8d82-c2ba5ca27f75%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/27ea7a90-af23-4989-8d82-c2ba5ca27f75%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFYhzGh\_6hFHDNMgWwhfYh9r7BQxZk6r-D0V7ZJaPN\_4Q%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoFYhzGh_6hFHDNMgWwhfYh9r7BQxZk6r-D0V7ZJaPN_4Q%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Paul\_Baclace](https://avatars.discourse-cdn.com/v4/letter/p/cc9497/32.png) [@Paul\_Baclace](https://discuss.elastic.co/u/Paul_Baclace)\
**Post date:** [December 16, 2014, 11:41pm UTC](https://discuss.elastic.co/t/zen-disco-socket-usage-and-port/21281/4 "2014-12-16T23:41:01Z")

</div>

Now that you pointed out the addition "es." prefix needed when specifying  
on the command line, I can see that:  
[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html)  
shows it via color in an example and with "instead of". Apparently, that  
was not obvious enough for me!

Thanks for the transport.netty.worker\_count tip.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/c5813aa7-a2d8-430f-a801-bca56aecc325%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/c5813aa7-a2d8-430f-a801-bca56aecc325%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:43am UTC](https://discuss.elastic.co/t/zen-disco-socket-usage-and-port/21281/5 "2017-07-06T00:43:23Z")

</div>


