[GH-ISSUE #1152] How to stop the ollama? #582

Closed
opened 2026-04-12 10:17:07 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @kmkarakaya on GitHub (Nov 16, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1152

I try to kill the service but it keeps restarting!

kmkarakaya@DESKTOP-AMT61DR:$ sudo kill 9493
kmkarakaya@DESKTOP-AMT61DR:
$ ps aux | grep ollama
ollama 9516 0.1 0.2 2370868 21388 ? Ssl 12:11 0:00 /usr/local/bin/ollama serve
kmkarak+ 9531 0.0 0.0 4024 2128 pts/7 S+ 12:11 0:00 grep --color=auto ollama

Originally created by @kmkarakaya on GitHub (Nov 16, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1152 I try to kill the service but it keeps restarting! kmkarakaya@DESKTOP-AMT61DR:~$ sudo kill 9493 kmkarakaya@DESKTOP-AMT61DR:~$ ps aux | grep ollama ollama 9516 0.1 0.2 2370868 21388 ? Ssl 12:11 0:00 /usr/local/bin/ollama serve kmkarak+ 9531 0.0 0.0 4024 2128 pts/7 S+ 12:11 0:00 grep --color=auto ollama
Author
Owner

@horw commented on GitHub (Nov 16, 2023):

Hi, @kmkarakaya , have you tried systemctl stop ollama? I believe it restarted because it uses systemd.

<!-- gh-comment-id:1814087672 --> @horw commented on GitHub (Nov 16, 2023): Hi, @kmkarakaya , have you tried `systemctl stop ollama`? I believe it restarted because it uses systemd.
Author
Owner

@kmkarakaya commented on GitHub (Nov 16, 2023):

@horw Yes, It stopped OLLAMA. Thanks

<!-- gh-comment-id:1814248320 --> @kmkarakaya commented on GitHub (Nov 16, 2023): @horw Yes, It stopped OLLAMA. Thanks
Author
Owner

@igorschlum commented on GitHub (Nov 16, 2023):

@kmkarakaya can you close the issue?

<!-- gh-comment-id:1814291105 --> @igorschlum commented on GitHub (Nov 16, 2023): @kmkarakaya can you close the issue?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#582