-
Notifications
You must be signed in to change notification settings - Fork 74
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
fail to spawn process for heartbeat #218
Comments
when problem occurs, I found thounds of curl process running like |
I got this problem too, after update the plugin. I guess the curl process may not been killed after finished the request, cause system process been run out. |
Error 14时12分34秒 msg_show.lua_error Error executing vim.schedule lua callback: .../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:406: Failed to spawn process: {
_additional_on_exit_callbacks = {},
_shutdown_check = <userdata 1>,
_stderr_results = {},
_stdout_results = {},
_user_on_exit = <function 1>,
args = { "-sSL", "-D", "/tmp/plenary_curl_223c46fc.headers", "-X", "POST", "-H", "Content-Type: application/json", "-d", "@/tmp/lua_xXzsA0", "http://127.0.0.1:64597/exa.language_server_pb.LanguageServerService/Heartbeat" },
command = "curl",
enable_handlers = true,
enable_recording = true,
interactive = true,
pid = "EAGAIN: resource temporarily unavailable",
stderr = <userdata 2>,
stdin = <userdata 3>,
stdout = <userdata 4>,
user_data = {},
= <1>{
__index = <table 1>,
_create_uv_options = <function 2>,
_execute = <function 3>,
_pipes_are_closed = <function 4>,
_prepare_pipes = <function 5>,
_reset = <function 6>,
_shutdown = <function 7>,
_stop = <function 8>,
add_on_exit_callback = <function 9>,
after = <function 10>,
after_failure = <function 11>,
after_success = <function 12>,
and_then = <function 13>,
and_then_on_failure = <function 14>,
and_then_on_failure_wrap = <function 15>,
and_then_on_success = <function 16>,
and_then_on_success_wrap = <function 17>,
and_then_wrap = <function 18>,
chain = <function 19>,
chain_status = <function 20>,
co_wait = <function 21>,
is_job = <function 22>,
join = <function 23>,
new = <function 24>,
pid = <function 25>,
result = <function 26>,
send = <function 27>,
shutdown = <function 28>,
start = <function 29>,
stderr_result = <function 30>,
sync = <function 31>,
wait = <function 32>
}
}
stack traceback:
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:406: in function '_execute'
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:449: in function 'start'
....local/share/nvim/lazy/plenary.nvim/lua/plenary/curl.lua:313: in function 'post'
...u/.local/share/nvim/lazy/codeium.nvim/lua/codeium/io.lua:440: in function 'post'
.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:169: in function 'request'
.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:176: in function 'do_heartbeat'
.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:311: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
stack traceback:
[C]: in function 'error'
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:406: in function '_execute'
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:449: in function 'start'
....local/share/nvim/lazy/plenary.nvim/lua/plenary/curl.lua:313: in function 'post'
...u/.local/share/nvim/lazy/codeium.nvim/lua/codeium/io.lua:440: in function 'post'
.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:169: in function 'request'
.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:176: in function 'do_heartbeat'
.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:311: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
The text was updated successfully, but these errors were encountered: