Greetings.

I'm having difficulty pulling various bits of documentation together.

I need to increase the maximum size of files uploaded through the JupyterHub interface, and I need to add an idle-timeout to sessions. I can't work out with confidence how to do that.

Regarding timeouts: the docs at <https://jupyterhub.readthedocs.io/en/stable/reference/config-user-env.html?highlight=timeout> suggest adjusting the configuration in /etc/jupyter/jupyter_notebook_config.py. But (a) I don't have that file, (b) I can't find an authoritative statement of what files notebooks search for their configuration (I can't find any 'jupyter' or 'jupyterhub' manpages), and (c) the documentation indicates that this will only work for notebooks after 5.4.

I see from `/usr/bin/jupyter --version` that I'm actually using v4.3.0. I'm doing this on the most recent version of CentOS (which does tend to be... conservative about versions). I'm sort of reluctant to use a version other than the OS-packaged version -- I've been through Python package-hell before. It's do-able, of course, but not much fun.

The page <https://jupyter-core.readthedocs.io/en/latest/> seems to refer to jupyter_core 4.5 as the most recent version. I see from <https://jupyter.readthedocs.io/en/latest/architecture/visual_overview.html> (a _very_ useful page!) that this is the version that relates to /usr/bin/jupyter (so perhaps I _am_ reasonably up to date). But how do I find what version of 'notebook' I'm running (I'm assuming that 5.4 refers to the notebook version rather than the jupyter_core version)? I'm really confused at this point.

Supposing that my version 4.3.0 _is_ too early for the configuration mentioned in the above config page, is there really no way of configuring notebooks to time out? Failing that, is there a reliable way of determining idle servers from outside, and a recommended way of killing them in that case? (parsing `ps` output and SIGINTing the idle ones is... *ick*... but looking suddenly attractive).

I have possibly the same question with respect to file uploads. Looking at <https://github.com/jupyter/notebook/issues/96> there does seem to have been an issue with the upload of 'big' files, where 35MB appears to be regarded as 'big' (!). The history of this specific issue suggests that this is resolved in notebooks from v5.0. Am I just out of luck with older versions?

Thanks for any pointers.

Best wishes,

Norman


--
Norman Gray  :  https://nxg.me.uk

--
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/4D6C3D98-5EB0-4A0D-A67C-17A0A61079C1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to