# Node available

**URL:** <https://discuss.elastic.co/t/node-available/32554>\
**Category:** Elasticsearch\
**Created:** [October 20, 2015, 7:15am UTC](https://discuss.elastic.co/t/node-available/32554 "2015-10-20T07:15:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kodermax](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@kodermax](https://discuss.elastic.co/u/kodermax)\
**Post date:** [October 20, 2015, 7:15am UTC](https://discuss.elastic.co/t/node-available/32554/1 "2015-10-20T07:15:37Z")

</div>

I use php client

I have this error  
[Elasticsearch\Common\Exceptions\NoNodesAvailableException]  
No alive nodes found in your cluster

Why?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 20, 2015, 7:37am UTC](https://discuss.elastic.co/t/node-available/32554/2 "2015-10-20T07:37:27Z")

</div>

Is the node you're connecting to in good shape? What's the cluster's health?

---

<div class="post-metadata">

**Author:** ![kodermax](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@kodermax](https://discuss.elastic.co/u/kodermax)\
**Post date:** [October 20, 2015, 8:05am UTC](https://discuss.elastic.co/t/node-available/32554/3 "2015-10-20T08:05:34Z")

</div>

Yes connecting, The problem was in my type contacts, when i delete this type, problem fixed.  
Strange.

---

<div class="post-metadata">

**Author:** ![kodermax](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@kodermax](https://discuss.elastic.co/u/kodermax)\
**Post date:** [October 20, 2015, 8:27am UTC](https://discuss.elastic.co/t/node-available/32554/4 "2015-10-20T08:27:08Z")

</div>

may be it's bulk function i use array with 50 000 items.  
It's possible?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 20, 2015, 8:36am UTC](https://discuss.elastic.co/t/node-available/32554/5 "2015-10-20T08:36:05Z")

</div>

50k per bulk request is a lot. I suggest you dial it down. Try 5k or 10k per request.

---

<div class="post-metadata">

**Author:** ![kodermax](https://avatars.discourse-cdn.com/v4/letter/k/9d8465/32.png) [@kodermax](https://discuss.elastic.co/u/kodermax)\
**Post date:** [October 20, 2015, 8:47am UTC](https://discuss.elastic.co/t/node-available/32554/6 "2015-10-20T08:47:20Z")

</div>

I have a 1 000 000 items, it be a long time.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 20, 2015, 8:58am UTC](https://discuss.elastic.co/t/node-available/32554/7 "2015-10-20T08:58:54Z")

</div>

Yes, a bulk insert of 1M documents will probably take a few minutes. The point of bulk requests is to remove the overhead when making one request per document, but increasing the bulk size too much won't increase insertion performance since the per-request overhead will be insignificant. An excessive size could actually make things worse.

---

<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 5, 2017, 11:43pm UTC](https://discuss.elastic.co/t/node-available/32554/8 "2017-07-05T23:43:53Z")

</div>


