On Sat, Apr 29, 2017 at 10:44 PM, Pietro Terna <[email protected]> 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 <https://github.com/jupyterhub/jupyterhub/blob/0.7.2/examples/cull-idle/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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/2c78d045-2c76-a033-fa94-d4e6da58b6f8%40unito.it > <https://groups.google.com/d/msgid/jupyter/2c78d045-2c76-a033-fa94-d4e6da58b6f8%40unito.it?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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.
