Code Monkey home page Code Monkey logo

Comments (12)

pqn avatar pqn commented on July 21, 2024 1

@ZSaberLv0 If curl is hanging, maybe you can try adding an argument like --max-time to the invocations of curl in the plugin. Is the service working otherwise? If we need to investigate further maybe you can make a new issue, seems like this is sufficiently different.

from codeium.vim.

fortenforge avatar fortenforge commented on July 21, 2024 1

@chrisgrieser there will always be exactly 2 processes actually; one is the child process of the other.

from codeium.vim.

fortenforge avatar fortenforge commented on July 21, 2024

There should only be one codeium process per nvim process. The fact that you have so many suggests that maybe many processes are not being killed when nvim exits. I can look into this.

from codeium.vim.

fortenforge avatar fortenforge commented on July 21, 2024

Curious if #102 fixes this issue for you. We now explicitly call jobstop upon VimLeave which should kill the language server process.

from codeium.vim.

xuwei152 avatar xuwei152 commented on July 21, 2024

Indeed, after exiting Neovim, all processes of Codeium are terminated. However, my typical usage scenario involves opening two panes in Tmux - one to open Neovim and one to run a program, as shown in the figure below. Since Codeium uses too many processes, I have to exit Neovim in order to run the program with multithread. Therefore, I hope to limit the number of processes so that I can run multi-threaded programs without closing Neovim.

image

from codeium.vim.

fortenforge avatar fortenforge commented on July 21, 2024

Hmm, I'm not sure why we're launching so many processes then.

can you add the following line to function! s:ActuallyStart() abort inside codeium.vim/autoload/codeium/server.vim?

call codeium#log#Error('Starting language server.')

And then the following line to your init.nvim file:

let g:codeium_log_file = '/home/<user>/codeium.log`

Then tail the log file and let us know what actions cause Starting language server to get printed?

from codeium.vim.

xuwei152 avatar xuwei152 commented on July 21, 2024

Sorry for the late reply. I have attached the log file.
codeium.log

from codeium.vim.

ZSaberLv0 avatar ZSaberLv0 commented on July 21, 2024

image

got similar issue, codeium created many curl task during usage, but all of them would exit properly when vim exited

from codeium.vim.

vamsikun avatar vamsikun commented on July 21, 2024

@ZSaberLv0, @xuwei152 have you solved this issue?

from codeium.vim.

xuwei152 avatar xuwei152 commented on July 21, 2024

No, the issue is still there. I have to close neovim when I use a multithreading program like fzf.

from codeium.vim.

chrisgrieser avatar chrisgrieser commented on July 21, 2024

same for me, however, for me, it is always exactly two codeium processes running:
Pasted image 2023-08-08 at 19 21 32@2x

neovim 0.9.1 (homebrew)
neovide 0.11.0 (homebrew)
macOS 13.4.1 (M1)

from codeium.vim.

renjinxi avatar renjinxi commented on July 21, 2024

I encountered the same problem. I just installed codeium today. I am using neovim. What configuration should I do to limit the number of processes?

from codeium.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.