`ollama_llama_server` and other background processes we start must be killed on CTRL+C
Opened this issue · 3 comments
zimmski commented
I just noticed that i had multiple ollama_llama_server
running.
zimmski commented
@ahumenberger @Munsio don't think that this is a blocker, but please check the server too. I think we already fixed that with the Symflower binary somehow?
bauersimon commented
I think we would never really notice with the Symflower binary because it is guaranteed to finish, while the Ollama server is supposed to be running all the time. I.e. even if we forgot to terminate Symflower properly, it would stop on it's own?
bauersimon commented
https://stackoverflow.com/questions/33165530/prevent-ctrlc-from-interrupting-exec-command-in-golang
Seems like all sub-processes "should" be killed by default... but the aren't 🙈