- 
                Notifications
    
You must be signed in to change notification settings  - Fork 106
 
Closed
Labels
Description
Description
Extension seems to open new socket every time a notebook tab is activated. Old sockets are not recycled or closed. Eventually the entire JupyterLab backend crashes from [Errno 24] Too many open files.
Reproduce
- Enable the extension
 - Open a .ipynb notebook and another file (anything goes)
 - Watch the number of open files using 
lsoforls -l /proc/###/fd | wc -l - Switch between the notebook tab and another tab. On my CentOS system, every time the notebook tab is activated, the open file count goes up by 7.
 
Expected behavior
There should not be any open file count increase.
Context
- Operating System and version: CentOS 7.9
 - Browser and version: Chrome 110
 - Jupyter Server version: JupyterLab 3.6.1