Dear All,
at https://slapp.hopto.org:6789 I’m serving, via JupyterHub, my simulation shell https://github.com/terna/SLAPP
This is for students and other people interested in trying the tool, without installing it locally.
If a user leaves the connection without closing the notebook or without logging out nicely, JupyterHub can get stuck.
To fix that problem, at https://github.com/jupyterhub/jupyterhub/tree/master/examples/cull-idle I found the interesting cull-idle service.
It seems to me a possible solution to my
problem.
My question is: where can I find jupyterhub_config.py, to add the requested dictionary for cull-idle, and where can I place the file cull_idle_servers.py ?
Many thanks
in advance,
best, Pietro
-- The world is full of interesting problems to be solved! home page: http://terna.to.it Have a look to: http://web-prod.santafe.edu/news-center/news/dangers-simplicity-complex-world
On Sat, Apr 29, 2017 at 10:44 PM, Pietro Terna <pietro...@unito.it> wrote:
Dear All,
at https://slapp.hopto.org:6789 I’m serving, via JupyterHub, my simulation shell https://github.com/terna/SLAPP
This is for students and other people interested in trying the tool, without installing it locally.
If a user leaves the connection without closing the notebook or without logging out nicely, JupyterHub can get stuck.
To fix that problem, at https://github.com/jupyterhub/jupyterhub/tree/master/examples/cull-idle I found the interesting cull-idle service.
It seems to me a possible solution to my problem.
My question is: where can I find jupyterhub_config.py, to add the requested dictionary for cull-idle, and where can I place the file cull_idle_servers.py ?
In the directory you linked is an example jupyterhub_config.py. You can put cull_idle_servers.py anywhere you like, as long as you pass the path to that file in the service declaration in jupyterhub_config.py. You could put it in the same directory as your jupyterhub_config.py, for instance.
-Min
Many thanks in advance,
best, Pietro
-- The world is full of interesting problems to be solved! home page: http://terna.to.it Have a look to: http://web-prod.santafe.edu/news-center/news/dangers-simplicity-complex-world
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/2c78d045-2c76-a033-fa94-d4e6da58b6f8%40unito.it.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAHNn8BXeb-C7zOHgMyNLvTDEE%3DH38ehR9OTu1mD3DO0hBogDig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Many thanks.
Last (I hope) question: --timeout is expressed in seconds?
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAHNn8BXeb-C7zOHgMyNLvTDEE%3DH38ehR9OTu1mD3DO0hBogDig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
-- The world is full of interesting problems to be solved! home page: http://terna.to.it Have a look to: http://web-prod.santafe.edu/news-center/news/dangers-simplicity-complex-world
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/b23cc069-74fd-a395-d42f-9d92f1563b7e%40unito.it.