Code-server: Multiple code-server instances

Created on 24 Mar 2019  路  5Comments  路  Source: cdr/code-server

Description

I deployed a code-server container to azure web services and had it running for 3-4 days. Along this days I was installing severals extensions (Python, GitLens, C/C++) and noticed now that there are multiple processes or instances of the code-server and don't know if it's normal.

List of processes in the azure container:
image

New fresh container in my local pc for compare:
image

Related Issues

Could this be causing this bug #328 ?

question

Most helpful comment

These are all forked processes. Soon, the process-list will look more _normal_.

Edit: Actually, it's possible the extension host isn't being killed properly when a client exists. Will investigate.

All 5 comments

These are all forked processes. Soon, the process-list will look more _normal_.

Edit: Actually, it's possible the extension host isn't being killed properly when a client exists. Will investigate.

Okey, I forgot to put the version I'm using: 1.32.0-310 from the latest release

@kylecarbs sounds like a memory leak and a zombie process in one to me.

Consider using dumb-init or a process manager https://github.com/Yelp/dumb-init

I'm running the latest release and found that closing the client didn't end the processes (ubuntu 18.04) running via a systemd service.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

broady picture broady  路  3Comments

KSXGitHub picture KSXGitHub  路  3Comments

lshamis picture lshamis  路  3Comments

oonqt picture oonqt  路  3Comments

nol166 picture nol166  路  3Comments