Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent creation of zombie processes by vscode-eslint extension #1855

Open
tategotoazarasi opened this issue Jun 7, 2024 · 0 comments
Open

Comments

@tategotoazarasi
Copy link

Environment:

  • Operating System: Arch Linux
  • VSCode Version: 1.89.1
  • vscode-eslint Version: 2.4.4
  • ESLint Version: 9.4.0

Issue Description: The vscode-eslint extension consistently leaves behind a zombie process specifically [npm config get ] <defunct> every time VSCode is closed. This issue occurs every time without exception, leading to additional wait times during system shutdown as the process is awaited to terminate.

Steps to Reproduce:

  1. Open VSCode with the vscode-eslint extension enabled.
  2. Close VSCode.
  3. Check for zombie processes using ps -aux | grep defunct and observe the [npm config get ] <defunct> zombie process.

A zombie process [npm config get ] <defunct> remains each time VSCode is closed. The parent process typically is /opt/visual-studio-code/code /home/username/.vscode/extensions/dbaeumer.vscode-eslint-2.4.4/server/out/eslintServer.js --node-ipc --clientProcessId=94143

Killing the parent process results in the zombie being reattached to systemd, remaining as a defunct process. This causes significant delays during system shutdown due to the wait for this process to terminate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant