Tensorflow: how to close tensorboard server

Dario picture Dario · Apr 27, 2016 · Viewed 17.5k times · Source

Once I've started tensorboard server with the command

tensorboard --logdir=path/to/logdir

is there a command that explicitly close it or can I just kill it without any harm?

Thanks

Answer

samuel picture samuel · Aug 28, 2016

In my case, CTRL+C doesn't work. The following works for me:

  1. CTRL+Z halts the on-going TensorBoard process.

  2. Check the id of this halted process by typing in the terminal

    jobs -l

  3. kill this process, otherwise you can't restart TensorBoard with the default port 6006 (of course, you can change the port with --port=xxxx)

    kill -9 #PROCESS_ID