Skip to content

Two clangd processes are running #605

@jaunis-ateme

Description

@jaunis-ateme

Environment: Ubuntu 24.04
Versions:

Image

Eclipse has two "clangd" children processes:

$ ps axjf
 448043  448047  448043   23221 pts/0     448043 Sl+   1001  17:22  |   |       \_ /home/jaunis/eclipse-2025-09//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_21.0.9.v20251105-0741/jre/bin/java [...]
[...]
 448047  452702  448043   23221 pts/0     448043 Sl+   1001   4:55  |   |           \_ /usr/bin/clangd-20 --clang-tidy --background-index --completion-style=detailed --pretty --query-driver=/usr/bin/* --function-arg-placeholders=1 --header-insertion=never
[...]
 448047  469376  448043   23221 pts/0     448043 Sl+   1001   0:54  |   |           \_ /usr/bin/clangd-20 --clang-tidy --background-index --completion-style=detailed --pretty --query-driver=/usr/bin/* --function-arg-placeholders=1 --header-insertion=never

The two pids match two consecutive launches of clangd in the console.
Please find attached an excerpt of the clangd console. I stripped much of it to remove sensitive file names; please tell me if it's an issue, I may provide the full log with file obfuscated names.

clangd_console_stripped.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions