Sync Intermittent Problem : Failed to spawn process #747
-
Hi I am using lazy.nvim in Neovim (Head) on a Mac's ( 8 core & Dual core) I get an intermittent issue when updating ( Sync ) plugins where it fails to spawn a process. Here is an example: neodev.nvim 3.63ms nvim-lspconfig
Failed to spawn process git {
args = { "fetch", "--recurse-submodules", "--tags", "--force", "--progress" },
cwd = "/Users/matthew.newland/.local/share/nvim/lazy/neodev.nvim",
on_exit = <function 1>,
on_line = <function 2>,
timeout = 120000
} I see this problem quite regularly with different ( random ) plugins. Quite often with lazy.nvim itself.
Eventually I will get it to work with no errors by repeating 1 or 2 above. I haven't seen this raised anywhere as an issue so I presume it is something specific to my setup/config. Is there anything in particular in a setup/configuration that would cause this to happen ? Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
This is your OS that doesn't allow spawning the process. Probably because you're running out of memory or file descriptors? You can set concurrency to a low number to prevent these types or issues, or fix your OS of course |
Beta Was this translation helpful? Give feedback.
-
I get this problem on different Mac's running different OS versions on different hardware. I'll start looking at the OS logs when it happens to see if it gives any clues. Do you know a way to configure Neovim and/or Lazy.nvim to limit the number of concurrent processes spawned ? |
Beta Was this translation helpful? Give feedback.
-
ok - I'll try setting the concurrency in the lazy.nvim config - thanks. |
Beta Was this translation helpful? Give feedback.
ok - I'll try setting the concurrency in the lazy.nvim config - thanks.