# Shutting down all nodes shuts down clients nodes and kills host process

**URL:** <https://discuss.elastic.co/t/shutting-down-all-nodes-shuts-down-clients-nodes-and-kills-host-process/7632>\
**Category:** Elasticsearch\
**Created:** [May 10, 2012, 11:59am UTC](https://discuss.elastic.co/t/shutting-down-all-nodes-shuts-down-clients-nodes-and-kills-host-process/7632 "2012-05-10T11:59:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Snell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_snell/32/2770_2.png) [@Michael\_Snell](https://discuss.elastic.co/u/Michael_Snell)\
**Post date:** [May 10, 2012, 11:59am UTC](https://discuss.elastic.co/t/shutting-down-all-nodes-shuts-down-clients-nodes-and-kills-host-process/7632/1 "2012-05-10T11:59:34Z")

</div>

Hi - Shutting down all nodes (using curl -XPOST  
'[http://localhost:9200/\_shutdown](http://localhost:9200/_shutdown)') stops data nodes, but also stops client  
nodes, and causes their host process (eg Tomcat if running a client node  
inside Tomcat) to exit. Setting "action.disable\_shutdown" to true fixes  
this issue, but it should probably default to true for client nodes and/or  
for nodes running inside another process?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [May 10, 2012, 8:33pm UTC](https://discuss.elastic.co/t/shutting-down-all-nodes-shuts-down-clients-nodes-and-kills-host-process/7632/2 "2012-05-10T20:33:16Z")

</div>

Yea, there is a bug there that does not take the correct list of nodes to  
shutdown in case of "all" shutdown, opened an issue:  
[Shutdown API: When sending an "all" shutdown, it also shutsdown node clients · Issue #1939 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1939).

On Thu, May 10, 2012 at 2:59 PM, Michael Snell [michael@snell.com](mailto:michael@snell.com) wrote:

> Hi - Shutting down all nodes (using curl -XPOST '  
> [http://localhost:9200/\_shutdown](http://localhost:9200/_shutdown)') stops data nodes, but also stops client  
> nodes, and causes their host process (eg Tomcat if running a client node  
> inside Tomcat) to exit. Setting "action.disable\_shutdown" to true fixes  
> this issue, but it should probably default to true for client nodes and/or  
> for nodes running inside another process?

---

<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:29am UTC](https://discuss.elastic.co/t/shutting-down-all-nodes-shuts-down-clients-nodes-and-kills-host-process/7632/3 "2017-07-06T03:29:23Z")

</div>


