1600507 : JupyterHub Spawn failed¶
Created: 2026-05-12T15:08:56Z - current status: new¶
Anonymized Summary:
A user reports persistent issues when attempting to start a JupyterHub notebook server. The error message indicates a timeout during the connection phase:
"Spawn failed: Server at http://[WORKER_NODE]:[PORT]/user/[USERNAME]/api didn't respond in 60 seconds."
The user has encountered this problem for several weeks.
Possible Causes & Solutions:¶
- Deadlocked Notebook Entry in Hub
- The user may have an obsolete server entry in the JupyterHub database that cannot be removed normally (e.g., due to a race condition or failed route deletion).
-
Solution:
- Try using the "Stop My Server" button in the JupyterHub GUI (if available). A patch (deployed in February 2026) allows users to force-remove deadlocked entries.
- If the issue persists, contact NAF admins to manually remove the account or restart the hub.
-
Disk Quota Exceeded
- The error log (
.jupyterhub.condor.errin the user’s$HOMEdirectory) may show:Failed to write server-info to [PATH]: OSError(122, 'Disk quota exceeded') -
Solution:
- Check disk usage (
quota -sordu -sh ~). - Clean up unnecessary files or request a quota increase.
- Check disk usage (
-
Unresponsive CVMFS Mounts
- Hanging CVMFS mounts (observed in December 2024) can prevent the notebook from reporting its port to the hub, leading to timeouts.
-
Solution:
- Retry spawning later (healthcheck bugs have been fixed, but mounts may still cause delays).
- If the issue recurs, note the worker node (
batchj003.desy.dein this case) and report it to admins.
-
Local Jupyter Configuration Issue
- A misconfigured setting (e.g.,
open_browser = Falsein.jupyter/jupyter_server_config.json) may block the hub connection. -
Solution:
- Check the file and comment out problematic entries.
-
Worker Node Issues
- The assigned worker (
batchj003.desy.de) might be overloaded or misconfigured. - Solution:
- Wait and retry later.
- If the problem persists, report the node to admins.
Recommended Next Steps:¶
- Check Error Logs:
- Inspect
.jupyterhub.condor.errin the$HOMEdirectory for specific errors (e.g., quota issues). - Verify Disk Usage:
- Run
quota -sto confirm no quota limits are exceeded. - Force-Remove Deadlocked Server:
- Use the "Stop My Server" button in the JupyterHub GUI.
- Contact Admins if Needed:
- If the issue persists, provide the worker node name (
batchj003.desy.de) and error logs to NAF support.
Sources: - NAF Documentation: Notebook Spawning Issues - JupyterHub BatchSpawner Issue #314