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

too many curl processes spawned by plenary #590

Open
FulanXisen opened this issue May 26, 2024 · 2 comments
Open

too many curl processes spawned by plenary #590

FulanXisen opened this issue May 26, 2024 · 2 comments

Comments

@FulanXisen
Copy link

FulanXisen commented May 26, 2024

PID:▲ User │ TTY CPU MEM CPU Time │ Command
67000 flxs │     0.0 0.0 00:00:00 │ curl -sSL -D /tmp/plenary_curl_cb9c41a5.headers -X POST -H Content-Type: application/json -d @/tmp/lua_mjIzLH https://127.0.0.1:57808/exa.language_server_pb.LanguageServerServi>
67013 flxs │     0.0 0.0 00:00:00 │ curl -sSL -D /tmp/plenary_curl_b69140fb.headers -X POST -H Content-Type: application/json -d @/tmp/lua_1l6eYT https://127.0.0.1:57808/exa.language_server_pb.LanguageServerServi>

as above: I use lazynvim's config to do rust programming, but after I open my project sometime, there are too many curl processes and my OS system was broken. Last time, I count that there are about 4000+ curl processes alive.

@Conni2461
Copy link
Collaborator

plenary itself only provides a curl library, we dont actually use it. so might be a misuse of the library or we have a bug. can you share which plugins do you use. when you see this behavior

@FulanXisen
Copy link
Author

FulanXisen commented May 26, 2024

plenary itself only provides a curl library, we dont actually use it. so might be a misuse of the library or we have a bug. can you share which plugins do you use. when you see this behavior

I think it is caused by codeium.vim. Becase I found code of "exa.language_server_pb" in codeium's codebase

I guess everytime 'codeium.vim' make a code completion request, there will be a new curl process.

I have open the same issue at codeium.vim.

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

2 participants