jupyterhub and quota

382 views
Skip to first unread message

Marcin Kostur

unread,
Sep 30, 2016, 2:07:49 AM9/30/16
to Project Jupyter
Hi,

When user tries to login to jupyterhub with exceeded quota, it does not start a notebook and gives 500 error (like https://github.com/jupyterhub/jupyterhub/issues/638)

Ideally it would be that the notebook is spawned and user is prompted to remove some files using notebook interface. 
Would it be possible to handle this situation in this way? I think that if there is no $HOME then it still launches the notebook


the best
mk

MinRK

unread,
Sep 30, 2016, 11:12:13 AM9/30/16
to Project Jupyter
You will only get a 500 in the JupyterHub page if it fails to start the notebook server at all, so there's no server running to prompt the user to take any actions. Can you tell which page is getting a 500 error?

-Min

--
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/a9780b55-5424-45b3-964a-099e22380892%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marcin Kostur

unread,
Oct 11, 2016, 2:35:43 AM10/11/16
to Project Jupyter
Hi

Funny thing is that it is difficult to reproduce, probably the exact moment when i/o fails is deciding. I have collected following errors so far:

Unexpected error while saving file: Untitled.ipynb database disk image is malformed
The history saving thread hit an unexpected error (OperationalError('disk I/O error',)).History will not be written to the database.

I will try to debug precisely when login to jupyterhub will be not possible for some user.

the best
mk


On Friday, September 30, 2016 at 5:12:13 PM UTC+2, Min RK wrote:
You will only get a 500 in the JupyterHub page if it fails to start the notebook server at all, so there's no server running to prompt the user to take any actions. Can you tell which page is getting a 500 error?

-Min
On Fri, Sep 30, 2016 at 8:07 AM, Marcin Kostur <marcin...@gmail.com> wrote:
Hi,

When user tries to login to jupyterhub with exceeded quota, it does not start a notebook and gives 500 error (like https://github.com/jupyterhub/jupyterhub/issues/638)

Ideally it would be that the notebook is spawned and user is prompted to remove some files using notebook interface. 
Would it be possible to handle this situation in this way? I think that if there is no $HOME then it still launches the notebook


the best
mk

--
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+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages