Skip to content

pylsp process <defunct> after started. #652

@lichunqiang

Description

@lichunqiang

when open one notebook, pylsp started, but after a monent (do nothing), the process to be defunct.

Image

Image

python 3.12

!jupyter --version
IPython          : 9.2.0
ipykernel        : 6.29.5
ipywidgets       : 8.1.7
jupyter_client   : 8.6.3
jupyter_core     : 5.8.1
jupyter_server   : 2.15.0
jupyterlab       : 4.4.3
nbclient         : 0.10.2
nbconvert        : 7.16.6
nbformat         : 5.10.4
notebook         : 7.4.3
qtconsole        : not installed
traitlets        : 5.14.3
jupyter_client            8.6.3
jupyter_code_server       1.2
jupyter_core              5.8.1
jupyter-events            0.12.0
jupyter-http-over-ws      0.0.8
jupyter-leaflet           0.19.2
jupyter-lsp               2.2.5
jupyter_server            2.15.0
jupyter-server-mathjax    0.2.6
jupyter_server_proxy      4.1.2
jupyter_server_terminals  0.5.3
jupyterlab                4.4.3
jupyterlab_execute_time   3.2.0
jupyterlab_git            0.51.1
jupyterlab-lsp            5.1.1
jupyterlab_pygments       0.3.0
jupyterlab_server         2.27.3
jupyterlab_widgets        3.0.15
jupyter_client            8.6.3
jupyter_code_server       1.2
jupyter_core              5.8.1
jupyter-events            0.12.0
jupyter-http-over-ws      0.0.8
jupyter-leaflet           0.19.2
jupyter-lsp               2.2.5
jupyter_server            2.15.0
jupyter-server-mathjax    0.2.6
jupyter_server_proxy      4.1.2
jupyter_server_terminals  0.5.3
jupyterlab                4.4.3
jupyterlab_execute_time   3.2.0
jupyterlab_git            0.51.1
jupyterlab-lsp            5.1.1
jupyterlab_pygments       0.3.0
jupyterlab_server         2.27.3
jupyterlab_widgets        3.0.15

use strace trick:

read(0, 0x5620cdd9ed70, 4096)           = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=7, si_uid=0} ---
+++ killed by SIGTERM +++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions