[GH-ISSUE #7160] real ``ollama stop`` cli #4543

Closed
opened 2026-04-12 15:28:47 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @HomunMage on GitHub (Oct 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7160

ollama version 0.3.12

currently,

  • a thread ollama serve
  • a thread ollama run xxxx
  • a thread ollama stop xxxx

the second thread still working

Originally created by @HomunMage on GitHub (Oct 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7160 ollama version 0.3.12 currently, * a thread ```ollama serve``` * a thread ```ollama run xxxx ``` * a thread ```ollama stop xxxx``` the second thread still working
GiteaMirror added the feature requestneeds more info labels 2026-04-12 15:28:47 -05:00
Author
Owner

@pdevine commented on GitHub (Oct 16, 2024):

Can you post some more details? Are you sure the model was even running before you asked it to stop?

<!-- gh-comment-id:2415373028 --> @pdevine commented on GitHub (Oct 16, 2024): Can you post some more details? Are you sure the model was even running before you asked it to stop?
Author
Owner

@HomunMage commented on GitHub (Oct 16, 2024):

Can you post some more details? Are you sure the model was even running before you asked it to stop?

Hi pdevine,

here is recording:

output

<!-- gh-comment-id:2415619467 --> @HomunMage commented on GitHub (Oct 16, 2024): > Can you post some more details? Are you sure the model was even running before you asked it to stop? Hi pdevine, here is recording: ![output](https://github.com/user-attachments/assets/a1653c87-1f38-4133-8b77-82d4fdbc8824)
Author
Owner

@pdevine commented on GitHub (Oct 16, 2024):

If you type ollama ps after issuing stop it will tell you the model is going to unload (it should say Stopping...) and will unload after it finishes processing. If you need to stop inference in the CLI you can just hit Ctrl-C.

<!-- gh-comment-id:2415718833 --> @pdevine commented on GitHub (Oct 16, 2024): If you type `ollama ps` after issuing `stop` it will tell you the model is going to unload (it should say `Stopping...`) and will unload after it finishes processing. If you need to stop inference in the CLI you can just hit Ctrl-C.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4543