mechmotum / jupyterhub-deploy-teaching

Reference deployment of JupyterHub and nbgrader on a single server
http://jupyterhub-deploy-teaching.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

JupyterHub server crashing due to lack of RAM #23

Open celine168 opened 5 years ago

celine168 commented 5 years ago

My friend crashed my JupyterHub server by using up all of the RAM (he did it by running an infinite loop with a recursive Fibonacci function and a new process spawning on each iteration of the loop). Richard suggested creating cgroups so that we could limit memory and CPU usage.