# Problems with load balancing

**URL:** <https://discuss.elastic.co/t/problems-with-load-balancing/5827>\
**Category:** Elasticsearch\
**Created:** [November 9, 2011, 9:47am UTC](https://discuss.elastic.co/t/problems-with-load-balancing/5827 "2011-11-09T09:47:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkyoung](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darkyoung/32/2924_2.png) [@darkyoung](https://discuss.elastic.co/u/darkyoung)\
**Post date:** [November 9, 2011, 9:47am UTC](https://discuss.elastic.co/t/problems-with-load-balancing/5827/1 "2011-11-09T09:47:35Z")

</div>

Hi,

I have 3 servers running elasticsearch with below configs in  
elasticsearch.yml:

node.master: true  
node.data: true  
index.number\_of\_shards: 5  
index.number\_of\_replicas: 1  
path.data: /var/search/index  
path.work: /tmp/search  
path.logs: /var/search/log  
bootstrap.mlockall: true  
http.port: 9200  
indices.recovery.max\_size\_per\_sec: 10mb  
indices.recovery.concurrent\_streams: 5  
discovery.zen.ping.unicast.hosts: ["192.168.1.60"]

192.168.1.60 is the master server to handle http requests. Its load average  
is around 0.5. But another two servers's load average are 4-6. All servers  
have 8 cells CPU and 16G RAM.  
It seems that most requests are handled by the other two servers.

Can I have the master server handle more requests itself but not just  
dispatch them?

Another problem is: it always return timeout.  
I have set ulimit to 65535 and net.nf\_conntrack\_max=655360.  
What will cause these timeout request?

Thanks.

---

<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, 3:49am UTC](https://discuss.elastic.co/t/problems-with-load-balancing/5827/2 "2017-07-06T03:49:23Z")

</div>

Closed on July 6, 2017, 3:49am UTC


