Open file leakage
pigpag opened this issue · 2 comments
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
lsof
orls -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
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Welcome to the Jupyter community! 🎉
Seems resolved already.