--
You received this message because you are subscribed to the Google Groups "Jupyter at Research Facilities" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter-research-fa...@googlegroups.com.
To post to this group, send email to jupyter-resea...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter-research-facilities/CAJY4aWGtoPPnaC__4QYrTPG3EPu9bq4g%3Dev3hNCiYCLKXCu5QQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi all,
I run a JupyterHub instance @ Vanderbilt and had the need/desire for a
couple features. Before I went down the rabbit hole of trying to write
the code myself, I figured I'd ask if someone had already implemented
them :)
1) Occasionally users will hit the memory limit, which causes their
notebook container to be killed, causing JupyterHub to return 503
errors when the proxy tries to access the non-existent backend. Does
anyone have a suggestion of how to give the user some type of message
that says "Hey User, your notebook was killed, probably because you
exceeded the memory limits". I guess there would be two parts a) some
mechanism to queue "sysadmin alerts" to a user and b) some hooks in
the spawner to send an alert to the user.
The "announcements" feature looks like it would be close (by writing
the announcement to a shared path and symlinking it), but I don't know
of how I could let the user "dismiss" the announcement once they saw
it.
2) There is often interesting data sent to the stdout/stderr of the
notebook process (particularly with Spark) which, in our case, dumps
to the stdout/err of the docker container, which the user doesn't have
access to. Is there a way to capture that output and forward it to a
page that would be visible the user facing side of the app?
Any resources/suggestions would be greatly appreciated.
Thanks!
Andrew