You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web Browser: Chrome / firefox does not matter.
Local OS: Linux, does not matter.
Remote OS: Ubuntu, CentOs
Remote Architecture: amd64
code-server --version: * probably all?
Description:
The VS Code Server (Stable-138f619c86f1199955d53b4166bef66ef252935c) leaves a zombie process () and possibly contributes to other lingering processes (e.g., ssh-agent) on Ubuntu (also seen on older CentOs servers). The parent node process isn’t reaping its child, and the environment shows multiple orphaned processes, suggesting cleanup issues.
Steps to Reproduce:
Run VS Code Server on Ubuntu via SSH.
Use ps aux to monitor processes after activity (e.g., editing, closing) or Possible wiht a suddenly dropped ssh connection.
Observe child processes and persistent ssh-agent instances.
Actual Behavior:
Full ps output shows a zombie and other processes:
Is there an existing issue for this?
there are tons but always ignored and closed:
Multiple code-server instances #329
. :/ So i decided to start from scratch and provide all the info possible to show the problem as clearly as possible.
maybe related with Heartbeat always gets touched even when no active sockets and browser closed #1795
OS/Web Information
Web Browser: Chrome / firefox does not matter.
Local OS: Linux, does not matter.
Remote OS: Ubuntu, CentOs
Remote Architecture: amd64
code-server --version: * probably all?
Description:
The VS Code Server (Stable-138f619c86f1199955d53b4166bef66ef252935c) leaves a zombie process () and possibly contributes to other lingering processes (e.g., ssh-agent) on Ubuntu (also seen on older CentOs servers). The parent node process isn’t reaping its child, and the environment shows multiple orphaned processes, suggesting cleanup issues.
Steps to Reproduce:
Run VS Code Server on Ubuntu via SSH.
Use ps aux to monitor processes after activity (e.g., editing, closing) or Possible wiht a suddenly dropped ssh connection.
Observe child processes and persistent ssh-agent instances.
Actual Behavior:
Full ps output shows a zombie and other processes:
The parent node (PID 2221113) doesn’t reap its child (PID 2221201), leaving a zombie. Multiple ssh-agent processes (parent PID 1) also persist.
Expected Behavior:
Parent processes reap terminated children, and SSH-related processes clean up after sessions end, avoiding and orphaned entries.
Environment:
OS: Linux eu-login-01 5.15.0-131-generic #141-Ubuntu 2025 x86_64
SSH: OpenSSH_8.9p1 Ubuntu-3ubuntu0.11, OpenSSL 3.0.2 15 Mar 2022
VS Code Server: Stable-138f619c86f1199955d53b4166bef66ef252935c
Setup: Cluster environment, launched via SSH
Steps to Reproduce
Expected
All processes that vs code server spawns should be cleaned if there is no active connection in some time.
Actual
process like in the list are there forever!
Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
Yes, this is also broken in native VS Code
Does this bug reproduce in GitHub Codespaces?
Yes, this is also broken in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
No response
The text was updated successfully, but these errors were encountered: