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

VSCode: Something odd with language-server local rpc communication: too many new TCP connections for POST /exa.language_server_pb.LanguageServerService/ProgressBars #79

Open
nom3ad opened this issue Aug 11, 2024 · 0 comments

Comments

@nom3ad
Copy link

nom3ad commented Aug 11, 2024

While trying to debug OOM caused by Codeium language-server process, I came to notice that something is strange with the localhost bound communication between processes. Even though this might have nothing to do with OOM issue, I think this could be a bug that causes some performance damage.

image
wireshark-codeium.zip

  • ~1000 HTTP calls being made for POST /exa.language_server_pb.LanguageServerService/ProgressBars per minute. (Even when there is no activity in the editor)
  • This behavior is not found for Vim implementation
  • No connection reuse for these calls - New TCP connection being made for each HTTP/1.1 requests. This is the case for both VSCode and Vim.

Nitpick:

  • If it's possible to implement parent-child process communication over stdio instead of TCP, that would be even better.
@nom3ad nom3ad changed the title VSCode: Something odd with LSP communication: too many new TCP connections for POST /exa.language_server_pb.LanguageServerService/ProgressBars VSCode: Something odd with language-server local rpc communication: too many new TCP connections for POST /exa.language_server_pb.LanguageServerService/ProgressBars Aug 11, 2024
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