mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
ollama server hangs constantly #33
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rihp on GitHub (Feb 16, 2024).
My ollama server hangs constantly, as in takes in queries, my gpu makes noise, but doesnt respond back in the jupyter environment unless i restart the ollama process a couple of times, any idea on how to debug what might be making it just hang thiking ? I’m on linux using vs code insider version
Ive set it so that after 20 seconds it restarts the ollama server, it works like 10% of the times though and its very time consuming
Here is the
systemctl status ollama.service@rihp commented on GitHub (Feb 16, 2024):
I'm using something like
but have it so that it retries after 20 seconds, restarting the ollama server by killing the process (that automatically spawns a new ollama instance 2 seconds later) that is working very rarely though.
@rihp commented on GitHub (Feb 17, 2024):
updating ollama seems to decrease the frequency of this issue?
curl https://ollama.ai/install.sh | sh@stevengans commented on GitHub (Feb 17, 2024):
@rihp this should have fixed the issue: https://github.com/ollama/ollama/pull/2459
Are you using v0.1.25 of ollama?
@rihp commented on GitHub (Feb 19, 2024):
Upgrading to 0.1.25 lowered the frequency of the issue, i'll share logs later this week!
@mxyng commented on GitHub (Feb 23, 2024):
This repo is for the python client library. For server issues, please see ollama/ollama