# How to restart Kibana

**URL:** <https://discuss.elastic.co/t/how-to-restart-kibana/24292>\
**Category:** Kibana\
**Created:** [June 24, 2015, 8:04pm UTC](https://discuss.elastic.co/t/how-to-restart-kibana/24292 "2015-06-24T20:04:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![avramw](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@avramw](https://discuss.elastic.co/u/avramw)\
**Post date:** [June 24, 2015, 8:04pm UTC](https://discuss.elastic.co/t/how-to-restart-kibana/24292/1 "2015-06-24T20:04:52Z")

</div>

This is probably a very easy question. I'm running Kibana on a linux VM. I started Kibana with the following command so it won't exit when I kill my SSH session:  
sh kibana-4.0.1-linux-x64/bin/kibana \>\> /dev/null &

Now I'm trying to upgrade to 4.1 so I need to kill the current instance and start the new one. Any idea how to do that?

Thanks!

---

<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:** [June 24, 2015, 8:17pm UTC](https://discuss.elastic.co/t/how-to-restart-kibana/24292/2 "2015-06-24T20:17:42Z")

</div>

> [@avramw](#):
>
> This is probably a very easy question. I'm running Kibana on a linux VM. I started Kibana with the following command so it won't exit when I kill my SSH session:  
> sh kibana-4.0.1-linux-x64/bin/kibana \>\> /dev/null &

That won't do. The process will be killed when your shell terminates. To run Kibana in the background you should start it like a daemon. Consult the documentation of your Linux distribution.

> Now I'm trying to upgrade to 4.1 so I need to kill the current instance and start the new one. Any idea how to do that?

You can for example find the pid of the process in the output of `ps aux` and pass the pid to `kill`.

---

<div class="post-metadata">

**Author:** ![avramw](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@avramw](https://discuss.elastic.co/u/avramw)\
**Post date:** [June 24, 2015, 8:21pm UTC](https://discuss.elastic.co/t/how-to-restart-kibana/24292/3 "2015-06-24T20:21:11Z")

</div>

The command that I posted actually does work for me for whatever reason. When I exit ssh Kibana is still running and has been for a few days.

I tried ps aux but didn't see kibana in there. I did see a bunch of kthread and kworker ones and the following one:  
17545 0.0 0.0 1073340 0 ? S Jun23 0:57 ./../node/bin/node ./../src/bin/kibana.js

Is that last one the one I need to kill?

Thanks again!

---

<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:** [June 25, 2015, 5:29am UTC](https://discuss.elastic.co/t/how-to-restart-kibana/24292/4 "2015-06-25T05:29:20Z")

</div>

> [@avramw](#):
>
> The command that I posted actually does work for me for whatever reason. When I exit ssh Kibana is still running and has been for a few days.

That's surprising. Don't rely on it. If you want to run Kibana all the time you should start it as a daemon.

> I tried ps aux but didn't see kibana in there. I did see a bunch of kthread and kworker ones and the following one:  
> 17545 0.0 0.0 1073340 0 ? S Jun23 0:57 ./../node/bin/node ./../src/bin/kibana.js

> Is that last one the one I need to kill?

Yes.

---

<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, 2:17pm UTC](https://discuss.elastic.co/t/how-to-restart-kibana/24292/5 "2017-07-06T14:17:31Z")

</div>


