Skip to content

Open file leakage #189

@pigpag

Description

@pigpag

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

  1. Enable the extension
  2. Open a .ipynb notebook and another file (anything goes)
  3. Watch the number of open files using lsof or ls -l /proc/###/fd | wc -l
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions