Shutdown sagenotebook and jupyter server

112 views
Skip to first unread message

Sarfo

unread,
Dec 11, 2017, 4:56:17 AM12/11/17
to sage-devel
I noticed the sage notebook and jupyter servers still run in the background after i have exited and closed all notebooks and the browser. Please may I know how to shut them down without having to manually kill those processes in the terminal. (I launch the notebook interface with an executable script).  Wouldn't it be great if a server shutdown button is added to the interface? Thank you.

Dima Pasechnik

unread,
Dec 11, 2017, 6:27:27 AM12/11/17
to sage-devel


On Monday, December 11, 2017 at 9:56:17 AM UTC, Sarfo wrote:
I noticed the sage notebook and jupyter servers still run in the background after i have exited and closed all notebooks and the browser.

Do you mean a jupyter notebook whn you say "sage notebook"?

kcrisman

unread,
Dec 11, 2017, 1:46:48 PM12/11/17
to sage-devel


On Monday, December 11, 2017 at 6:27:27 AM UTC-5, Dima Pasechnik wrote:


On Monday, December 11, 2017 at 9:56:17 AM UTC, Sarfo wrote:
I noticed the sage notebook and jupyter servers still run in the background after i have exited and closed all notebooks and the browser.

Do you mean a jupyter notebook whn you say "sage notebook"?


In either case, it's true that the server might continue depending on how you exit, whether sagenb or jupiter.  

In the Mac app there is a specific button for this in the menu item, but elsewhere you do indeed need to return to the command line (e.g. Ctrl-D) to quit the sagenb server, at least.
Message has been deleted

Sarfo

unread,
Dec 13, 2017, 11:58:44 AM12/13/17
to sage-devel


On Monday, 11 December 2017 11:27:27 UTC, Dima Pasechnik wrote:

Do you mean a jupyter notebook whn you say "sage notebook"?


I mean both (the jupyter notebook and the old sage notebook)

Nils Bruin

unread,
Dec 13, 2017, 3:19:43 PM12/13/17
to sage-devel
On Monday, December 11, 2017 at 1:56:17 AM UTC-8, Sarfo wrote:
I noticed the sage notebook and jupyter servers still run in the background after i have exited and closed all notebooks and the browser. Please may I know how to shut them down without having to manually kill those processes in the terminal. (I launch the notebook interface with an executable script).  Wouldn't it be great if a server shutdown button is added to the interface? Thank you.

For jupyter this might happen eventually:

https://github.com/jupyter/notebook/pull/3004

Since sagenb was originally designed as a multiuser service, it's not quite appropriate there. If an "admin" is logged in (which is the default solution for local notebooks) it could have a "notebook shutdown" button, but sagenb isn't being developed anymore.
 
Reply all
Reply to author
Forward
0 new messages