# Elasticsearch console screen stays open even though java process closes

**URL:** <https://discuss.elastic.co/t/elasticsearch-console-screen-stays-open-even-though-java-process-closes/18459>\
**Category:** Elasticsearch\
**Created:** [July 3, 2014, 10:18am UTC](https://discuss.elastic.co/t/elasticsearch-console-screen-stays-open-even-though-java-process-closes/18459 "2014-07-03T10:18:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ophir\_Michaeli](https://avatars.discourse-cdn.com/v4/letter/o/9f8e36/32.png) [@Ophir\_Michaeli](https://discuss.elastic.co/u/Ophir_Michaeli)\
**Post date:** [July 3, 2014, 10:18am UTC](https://discuss.elastic.co/t/elasticsearch-console-screen-stays-open-even-though-java-process-closes/18459/1 "2014-07-03T10:18:27Z")

</div>

Hi all,

I'm running an auto test for my elasticsearch project.

The auto test runs a test and then return the same test for 50 times to  
check average time on multiple runs.  
When one test finishes the auto test closes the java process,  
so the next run will have es without cache (so all the re-runs will have  
the same es state).

I have a problem that the console screen that es runs on is not closing  
when I close the java process.  
When the next run starts it opens a new es node, but because the former es  
node console stayed open  
than es runs now with 2 nodes and each time another node is added, while I  
want only one new node to run.

This happens only on one machine, on other machines the es console screen  
closes when the java process closes.

Thank you,  
Ophir

--  
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/197bf2bf-f770-490c-b17c-58ae5f046ab4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/197bf2bf-f770-490c-b17c-58ae5f046ab4%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, 1:18am UTC](https://discuss.elastic.co/t/elasticsearch-console-screen-stays-open-even-though-java-process-closes/18459/2 "2017-07-06T01:18:10Z")

</div>

Closed on July 6, 2017, 1:18am UTC


