[GH-ISSUE #8987] Ollama Service Not Fully Stopping After Ctrl+C #5835

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

Originally created by @20246688 on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8987

What is the issue?

Hey, when using Ollama, I tried stopping the service by pressing Ctrl+C, but after exiting, I noticed the Ollama icon was still there. Any idea why this happens? And is there a way to fix it?

Relevant log output


OS

Windows

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @20246688 on GitHub (Feb 10, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8987 ### What is the issue? Hey, when using Ollama, I tried stopping the service by pressing Ctrl+C, but after exiting, I noticed the Ollama icon was still there. Any idea why this happens? And is there a way to fix it? ### Relevant log output ```shell ``` ### OS Windows ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-12 17:10:38 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 10, 2025):

ollama runs as a service. Right click on the icon and select "Quit Ollama".

<!-- gh-comment-id:2647410375 --> @rick-github commented on GitHub (Feb 10, 2025): ollama runs as a service. Right click on the icon and select "Quit Ollama".
Author
Owner

@20246688 commented on GitHub (Feb 10, 2025):

ollama runs as a service. Right click on the icon and select "Quit Ollama".

It seems that there is no icon when running on a cloud server.

<!-- gh-comment-id:2647439339 --> @20246688 commented on GitHub (Feb 10, 2025): > ollama runs as a service. Right click on the icon and select "Quit Ollama". It seems that there is no icon when running on a cloud server.
Author
Owner

@rick-github commented on GitHub (Feb 10, 2025):

Then run whatever command is available in your operating system to stop a service. In Linux, it's servicectl stop ollama, use whatever the analog is in Windows.

<!-- gh-comment-id:2647445306 --> @rick-github commented on GitHub (Feb 10, 2025): Then run whatever command is available in your operating system to stop a service. In Linux, it's `servicectl stop ollama`, use whatever the analog is in Windows.
Author
Owner

@20246688 commented on GitHub (Feb 10, 2025):

Then run whatever command is available in your operating system to stop a service. In Linux, it's , use whatever the analog is in Windows.servicectl stop ollama

thanks a lot

<!-- gh-comment-id:2647448577 --> @20246688 commented on GitHub (Feb 10, 2025): > Then run whatever command is available in your operating system to stop a service. In Linux, it's , use whatever the analog is in Windows.`servicectl stop ollama` thanks a lot
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5835