mirror of
https://github.com/ollama/ollama.git
synced 2026-05-06 08:02:14 -05:00
Closed
opened 2026-04-22 07:01:33 -05:00 by GiteaMirror
·
54 comments
No Branch/Tag Specified
main
parth-mlx-decode-checkpoints
dhiltgen/ci
hoyyeva/editor-config-repair
parth-launch-codex-app
hoyyeva/fix-codex-model-metadata-warning
hoyyeva/qwen
hoyyeva/launch-backup-ux
parth/hide-claude-desktop-till-release
hoyyeva/opencode-image-modality
parth-add-claude-code-autoinstall
release_v0.22.0
pdevine/manifest-list
codex/fix-codex-model-metadata-warning
pdevine/addressable-manifest
brucemacd/launch-fetch-reccomended
jmorganca/llama-compat
launch-copilot-cli
hoyyeva/opencode-thinking
release_v0.20.7
parth-auto-save-backup
parth-test
jmorganca/gemma4-audio-replacements
fix-manifest-digest-on-pull
hoyyeva/vscode-improve
brucemacd/install-server-wait
brucemacd/download-before-remove
parth/update-claude-docs
parth-anthropic-reference-images-path
brucemac/start-ap-install
pdevine/mlx-update
pdevine/qwen35_vision
drifkin/api-show-fallback
mintlify/image-generation-1773352582
hoyyeva/server-context-length-local-config
jmorganca/faster-reptition-penalties
jmorganca/convert-nemotron
parth-pi-thinking
pdevine/sampling-penalties
jmorganca/fix-create-quantization-memory
dongchen/resumable_transfer_fix
pdevine/sampling-cache-error
jessegross/mlx-usage
hoyyeva/openclaw-config
hoyyeva/app-html
pdevine/qwen3next
brucemacd/sign-sh-install
brucemacd/tui-update
brucemacd/usage-api
jmorganca/launch-empty
fix-app-dist-embed
mxyng/mlx-compile
mxyng/mlx-quant
mxyng/mlx-glm4.7
mxyng/mlx
brucemacd/simplify-model-picker
jmorganca/qwen3-concurrent
fix-glm-4.7-flash-mla-config
drifkin/qwen3-coder-opening-tag
brucemacd/usage-cli
fix-cuda12-fattn-shmem
ollama-imagegen-docs
parth/fix-multiline-inputs
brucemacd/config-docs
mxyng/model-files
mxyng/simple-execute
fix-imagegen-ollama-models
mxyng/async-upload
jmorganca/lazy-no-dtype-changes
imagegen-auto-detect-create
parth/decrease-concurrent-download-hf
fix-mlx-quantize-init
jmorganca/x-cleanup
usage
imagegen-readme
jmorganca/glm-image
mlx-gpu-cd
jmorganca/imagegen-modelfile
parth/agent-skills
parth/agent-allowlist
parth/signed-in-offline
parth/agents
parth/fix-context-chopping
improve-cloud-flow
parth/add-models-websearch
parth/prompt-renderer-mcp
jmorganca/native-settings
jmorganca/download-stream-hash
jmorganca/client2-rebased
brucemacd/oai-chat-req-multipart
jessegross/multi_chunk_reserve
grace/additional-omit-empty
grace/mistral-3-large
mxyng/tokenizer2
mxyng/tokenizer
jessegross/flash
hoyyeva/windows-nacked-app
mxyng/cleanup-attention
grace/deepseek-parser
hoyyeva/remember-unsent-prompt
parth/add-lfs-pointer-error-conversion
parth/olmo2-test2
hoyyeva/ollama-launchagent-plist
nicole/olmo-model
parth/olmo-test
mxyng/remove-embedded
parth/render-template
jmorganca/intellect-3
parth/remove-prealloc-linter
jmorganca/cmd-eval
nicole/nomic-embed-text-fix
mxyng/lint-2
hoyyeva/add-gemini-3-pro-preview
hoyyeva/load-model-list
mxyng/expand-path
mxyng/environ-2
hoyyeva/deeplink-json-encoding
parth/improve-tool-calling-tests
hoyyeva/conversation
hoyyeva/assistant-edit-response
hoyyeva/thinking
origin/brucemacd/invalid-char-i-err
parth/improve-tool-calling
jmorganca/required-omitempty
grace/qwen3-vl-tests
mxyng/iter-client
parth/docs-readme
nicole/embed-test
pdevine/integration-benchstat
parth/remove-generate-cmd
parth/add-toolcall-id
mxyng/server-tests
jmorganca/glm-4.6
jmorganca/gin-h-compat
drifkin/stable-tool-args
pdevine/qwen3-more-thinking
parth/add-websearch-client
nicole/websearch_local
jmorganca/qwen3-coder-updates
grace/deepseek-v3-migration-tests
mxyng/fix-create
jmorganca/cloud-errors
pdevine/parser-tidy
revert-12233-parth/simplify-entrypoints-runner
parth/enable-so-gpt-oss
brucemacd/qwen3vl
jmorganca/readme-simplify
parth/gpt-oss-structured-outputs
revert-12039-jmorganca/tools-braces
mxyng/embeddings
mxyng/gguf
mxyng/benchmark
mxyng/types-null
parth/move-parsing
mxyng/gemma2
jmorganca/docs
mxyng/16-bit
mxyng/create-stdin
pdevine/authorizedkeys
mxyng/quant
parth/opt-in-error-context-window
brucemacd/cache-models
brucemacd/runner-completion
jmorganca/llama-update-6
brucemacd/benchmark-list
brucemacd/partial-read-caps
parth/deepseek-r1-tools
mxyng/omit-array
parth/tool-prefix-temp
brucemacd/runner-test
jmorganca/qwen25vl
brucemacd/model-forward-test-ext
parth/python-function-parsing
jmorganca/cuda-compression-none
drifkin/num-parallel
drifkin/chat-truncation-fix
jmorganca/sync
parth/python-tools-calling
drifkin/array-head-count
brucemacd/create-no-loop
parth/server-enable-content-stream-with-tools
qwen25omni
mxyng/v3
brucemacd/ropeconfig
jmorganca/silence-tokenizer
parth/sample-so-test
parth/sampling-structured-outputs
brucemacd/doc-go-engine
parth/constrained-sampling-json
jmorganca/mistral-wip
brucemacd/mistral-small-convert
parth/sample-unmarshal-json-for-params
brucemacd/jomorganca/mistral
pdevine/bfloat16
jmorganca/mistral
brucemacd/mistral
pdevine/logging
parth/sample-correctness-fix
parth/sample-fix-sorting
jmorgan/sample-fix-sorting-extras
jmorganca/temp-0-images
brucemacd/parallel-embed-models
brucemacd/shim-grammar
jmorganca/fix-gguf-error
bmizerany/nameswork
jmorganca/faster-releases
bmizerany/validatenames
brucemacd/err-no-vocab
brucemacd/rope-config
brucemacd/err-hint
brucemacd/qwen2_5
brucemacd/logprobs
brucemacd/new_runner_graph_bench
progress-flicker
brucemacd/forward-test
brucemacd/go_qwen2
pdevine/gemma2
jmorganca/add-missing-symlink-eval
mxyng/next-debug
parth/set-context-size-openai
brucemacd/next-bpe-bench
brucemacd/next-bpe-test
brucemacd/new_runner_e2e
brucemacd/new_runner_qwen2
pdevine/convert-cohere2
brucemacd/convert-cli
parth/log-probs
mxyng/next-mlx
mxyng/cmd-history
parth/templating
parth/tokenize-detokenize
brucemacd/check-key-register
bmizerany/grammar
jmorganca/vendor-081b29bd
mxyng/func-checks
jmorganca/fix-null-format
parth/fix-default-to-warn-json
jmorganca/qwen2vl
jmorganca/no-concat
parth/cmd-cleanup-SO
brucemacd/check-key-register-structured-err
parth/openai-stream-usage
parth/fix-referencing-so
stream-tools-stop
jmorganca/degin-1
brucemacd/install-path-clean
brucemacd/push-name-validation
brucemacd/browser-key-register
jmorganca/openai-fix-first-message
jmorganca/fix-proxy
jessegross/sample
parth/disallow-streaming-tools
dhiltgen/remove_submodule
jmorganca/ga
jmorganca/mllama
pdevine/newlines
pdevine/geems-2b
jmorganca/llama-bump
mxyng/modelname-7
mxyng/gin-slog
mxyng/modelname-6
jyan/convert-prog
jyan/quant5
paligemma-support
pdevine/import-docs
jmorganca/openai-context
jyan/paligemma
jyan/p2
jyan/palitest
bmizerany/embedspeedup
jmorganca/llama-vit
brucemacd/allow-ollama
royh/ep-methods
royh/whisper
mxyng/api-models
mxyng/fix-memory
jyan/q4_4/8
jyan/ollama-v
royh/stream-tools
roy-embed-parallel
bmizerany/hrm
revert-5963-revert-5924-mxyng/llama3.1-rope
royh/embed-viz
jyan/local2
jyan/auth
jyan/local
jyan/parse-temp
jmorganca/template-mistral
jyan/reord-g
royh-openai-suffixdocs
royh-imgembed
royh-embed-parallel
jyan/quant4
royh-precision
jyan/progress
pdevine/fix-template
jyan/quant3
pdevine/ggla
mxyng/update-registry-domain
jmorganca/ggml-static
mxyng/create-context
jyan/v0.146
mxyng/layers-from-files
build_dist
bmizerany/noseek
royh-ls
royh-name
timeout
mxyng/server-timestamp
bmizerany/nosillyggufslurps
royh-params
jmorganca/llama-cpp-7c26775
royh-openai-delete
royh-show-rigid
jmorganca/enable-fa
jmorganca/no-error-template
jyan/format
royh-testdelete
bmizerany/fastverify
language_support
pdevine/ps-glitches
brucemacd/tokenize
bruce/iq-quants
bmizerany/filepathwithcoloninhost
mxyng/split-bin
bmizerany/client-registry
jmorganca/if-none-match
native
jmorganca/native
jmorganca/batch-embeddings
jmorganca/initcmake
jmorganca/mm
pdevine/showggmlinfo
modenameenforcealphanum
bmizerany/modenameenforcealphanum
jmorganca/done-reason
jmorganca/llama-cpp-8960fe8
ollama.com
bmizerany/filepathnobuild
bmizerany/types/model/defaultfix
rmdisplaylong
nogogen
bmizerany/x
modelfile-readme
bmizerany/replacecolon
jmorganca/limit
jmorganca/execstack
jmorganca/replace-assets
mxyng/tune-concurrency
jmorganca/testing
whitespace-detection
jmorganca/options
upgrade-all
scratch
cuda-search
mattw/airenamer
mattw/allmodelsonhuggingface
mattw/quantcontext
mattw/whatneedstorun
brucemacd/llama-mem-calc
mattw/faq-context
mattw/communitylinks
mattw/noprune
mattw/python-functioncalling
rename
mxyng/install
pulse
remove-first
editor
mattw/selfqueryingretrieval
cgo
mattw/howtoquant
api
matt/streamingapi
format-config
mxyng/extra-args
shell
update-nous-hermes
cp-model
upload-progress
fix-unknown-model
fix-model-names
delete-fix
insecure-registry
ls
deletemodels
progressbar
readme-updates
license-layers
skip-list
list-models
modelpath
matt/examplemodelfiles
distribution
go-opts
v0.23.1
v0.23.1-rc0
v0.23.0
v0.23.0-rc0
v0.22.1
v0.22.1-rc1
v0.22.1-rc0
v0.22.0
v0.22.0-rc1
v0.21.3-rc0
v0.21.2-rc1
v0.21.2
v0.21.2-rc0
v0.21.1
v0.21.1-rc1
v0.21.1-rc0
v0.21.0
v0.21.0-rc1
v0.21.0-rc0
v0.20.8-rc0
v0.20.7
v0.20.7-rc1
v0.20.7-rc0
v0.20.6
v0.20.6-rc1
v0.20.6-rc0
v0.20.5
v0.20.5-rc2
v0.20.5-rc1
v0.20.5-rc0
v0.20.4
v0.20.4-rc2
v0.20.4-rc1
v0.20.4-rc0
v0.20.3
v0.20.3-rc0
v0.20.2
v0.20.1
v0.20.1-rc2
v0.20.1-rc1
v0.20.1-rc0
v0.20.0
v0.20.0-rc1
v0.20.0-rc0
v0.19.0
v0.19.0-rc2
v0.19.0-rc1
v0.19.0-rc0
v0.18.4-rc1
v0.18.4-rc0
v0.18.3
v0.18.3-rc2
v0.18.3-rc1
v0.18.3-rc0
v0.18.2
v0.18.2-rc1
v0.18.2-rc0
v0.18.1
v0.18.1-rc1
v0.18.1-rc0
v0.18.0
v0.18.0-rc2
v0.18.0-rc1
v0.18.0-rc0
v0.17.8-rc4
v0.17.8-rc3
v0.17.8-rc2
v0.17.8-rc1
v0.17.8-rc0
v0.17.7
v0.17.7-rc2
v0.17.7-rc1
v0.17.7-rc0
v0.17.6
v0.17.5
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.1-rc2
v0.17.1-rc1
v0.17.1-rc0
v0.17.0
v0.17.0-rc2
v0.17.0-rc1
v0.17.0-rc0
v0.16.3
v0.16.3-rc2
v0.16.3-rc1
v0.16.3-rc0
v0.16.2
v0.16.2-rc0
v0.16.1
v0.16.0
v0.16.0-rc2
v0.16.0-rc0
v0.16.0-rc1
v0.15.6
v0.15.5
v0.15.5-rc5
v0.15.5-rc4
v0.15.5-rc3
v0.15.5-rc2
v0.15.5-rc1
v0.15.5-rc0
v0.15.4
v0.15.3
v0.15.2
v0.15.1
v0.15.1-rc1
v0.15.1-rc0
v0.15.0-rc6
v0.15.0
v0.15.0-rc5
v0.15.0-rc4
v0.15.0-rc3
v0.15.0-rc2
v0.15.0-rc1
v0.15.0-rc0
v0.14.3
v0.14.3-rc3
v0.14.3-rc2
v0.14.3-rc1
v0.14.3-rc0
v0.14.2
v0.14.2-rc1
v0.14.2-rc0
v0.14.1
v0.14.0-rc11
v0.14.0
v0.14.0-rc10
v0.14.0-rc9
v0.14.0-rc8
v0.14.0-rc7
v0.14.0-rc6
v0.14.0-rc5
v0.14.0-rc4
v0.14.0-rc3
v0.14.0-rc2
v0.14.0-rc1
v0.14.0-rc0
v0.13.5
v0.13.5-rc1
v0.13.5-rc0
v0.13.4-rc2
v0.13.4
v0.13.4-rc1
v0.13.4-rc0
v0.13.3
v0.13.3-rc1
v0.13.3-rc0
v0.13.2
v0.13.2-rc2
v0.13.2-rc1
v0.13.2-rc0
v0.13.1
v0.13.1-rc2
v0.13.1-rc1
v0.13.1-rc0
v0.13.0
v0.13.0-rc0
v0.12.11
v0.12.11-rc1
v0.12.11-rc0
v0.12.10
v0.12.10-rc1
v0.12.10-rc0
v0.12.9-rc0
v0.12.9
v0.12.8
v0.12.8-rc0
v0.12.7
v0.12.7-rc1
v0.12.7-rc0
v0.12.7-citest0
v0.12.6
v0.12.6-rc1
v0.12.6-rc0
v0.12.5
v0.12.5-rc0
v0.12.4
v0.12.4-rc7
v0.12.4-rc6
v0.12.4-rc5
v0.12.4-rc4
v0.12.4-rc3
v0.12.4-rc2
v0.12.4-rc1
v0.12.4-rc0
v0.12.3
v0.12.2
v0.12.2-rc0
v0.12.1
v0.12.1-rc1
v0.12.1-rc2
v0.12.1-rc0
v0.12.0
v0.12.0-rc1
v0.12.0-rc0
v0.11.11
v0.11.11-rc3
v0.11.11-rc2
v0.11.11-rc1
v0.11.11-rc0
v0.11.10
v0.11.9
v0.11.9-rc0
v0.11.8
v0.11.8-rc0
v0.11.7-rc1
v0.11.7-rc0
v0.11.7
v0.11.6
v0.11.6-rc0
v0.11.5-rc4
v0.11.5-rc3
v0.11.5
v0.11.5-rc5
v0.11.5-rc2
v0.11.5-rc1
v0.11.5-rc0
v0.11.4
v0.11.4-rc0
v0.11.3
v0.11.3-rc0
v0.11.2
v0.11.1
v0.11.0-rc0
v0.11.0-rc1
v0.11.0-rc2
v0.11.0
v0.10.2-int1
v0.10.1
v0.10.0
v0.10.0-rc4
v0.10.0-rc3
v0.10.0-rc2
v0.10.0-rc1
v0.10.0-rc0
v0.9.7-rc1
v0.9.7-rc0
v0.9.6
v0.9.6-rc0
v0.9.6-ci0
v0.9.5
v0.9.4-rc5
v0.9.4-rc6
v0.9.4
v0.9.4-rc3
v0.9.4-rc4
v0.9.4-rc1
v0.9.4-rc2
v0.9.4-rc0
v0.9.3
v0.9.3-rc5
v0.9.4-citest0
v0.9.3-rc4
v0.9.3-rc3
v0.9.3-rc2
v0.9.3-rc1
v0.9.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.19
v0.1.18
v0.1.17
v0.1.16
v0.1.15
v0.1.14
v0.1.13
v0.1.12
v0.1.11
v0.1.10
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.21
v0.0.20
v0.0.19
v0.0.18
v0.0.17
v0.0.16
v0.0.15
v0.0.14
v0.0.13
v0.0.12
v0.0.11
v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Labels
Clear labels
amd
api
app
bug
build
cli
cloud
compatibility
context-length
create
docker
documentation
embeddings
feature request
feedback wanted
good first issue
gpt-oss
gpu
harmony
help wanted
image
install
intel
js
launch
linux
macos
memory
mlx
model
needs more info
networking
nvidia
ollama.com
performance
pull-request
python
question
registry
rendering
thinking
tools
top
vulkan
windows
wsl
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ollama#28610
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking 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 @iganev on GitHub (May 20, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4545
Originally assigned to: @dhiltgen on GitHub.
What is the issue?
Using
ollama:latestwith nvidia-docker and 2x4090.Tried blasting a bunch of 256 words long text snippets to ollama for embeddings generation using
all-minilm:l6-v2.Every time I start the task, it works for about 10-15 minutes, then ollama starts initially hanging the requests till timeout, but later requests respond immediately with error
{"error":"failed to generate embedding"}.Looking at the logs:
Here's my startup log as well:
Issue persists until I restart the container, then repeats in the next 10-15 minutes.
Any suggestions?
Thanks in advance <3
OS
Linux, Docker
GPU
Nvidia
CPU
Intel
Ollama version
0.1.38
@iganev commented on GitHub (May 20, 2024):
Tried bumping the queue to 1024 and the parallel num to 10. Watching the log live (-fn100) I see this popping up every once in a while:
@jmorganca commented on GitHub (May 20, 2024):
Sorry this happened – may I ask how you're sending the embedding requests? Hoping to reproduce on my side ASAP!
@iganev commented on GitHub (May 20, 2024):
I am using ollama-rs:
Nothing out of the ordinary. Happens every 5-10 seconds now. A bunch of requests pass without issue and then it glitches and resumes few moments later. I will check if the payload itself causes a reproducible error sequence or not. Just a sec.
@iganev commented on GitHub (May 20, 2024):
It doesn't seem to be payload-dependent. I tested the payloads manually using curl with the last successful embedding before an error and also with the first occurring error. Unsuccessful requests turn out as successful when retried few seconds later when the service reloads.
Might have something to do with the fact that I run 10 workers in parallel blasting requests at the same time.
My
OLLAMA_NUM_PARALLELis 10 at the moment and the queue at 1024. In theory I shouldn't be landing the queue at all because the number of workers matches the number of parallel requests expected by ollama.Do you need me to test something specific and report back the result?
@iganev commented on GitHub (May 20, 2024):
Ok, here's a reproducible example. I asked llama3 for exactly 256 words placeholder text sounding like a news article with a "{}" placeholder to be replaced by a number. Made a mini-version of what I am actually doing with Ollama and let it blast 1 million requests, 8 at a time in parallel. First error occurs sometime in the first few dozens of requests. One time was 63rd, then 41st request.
Here's the exact code I am using:
Cargo.toml:
.env file:
The Ollama docker-compose.yml:
@iganev commented on GitHub (May 20, 2024):
Here's a debug-enabled log from a test run of the above setup:
ollama_log.txt
Took around 100 requests to encounter an error, so the log isn't all too crowded.
Let me know if I can be of any more help.
@lyriccoder commented on GitHub (May 21, 2024):
@jmorganca I am encountering the same issue, though it appears to be without Docker. I installed Ollama using curl, and the service starts automatically. I am unaware of Docker running within this service, but I experience the same problem: after 20-30 minutes, the service hangs. I am using Ubuntu 23.04 with two 4090 GPUs. Consequently, I have to restart the service every 30 minutes.
Here is how I send requests:
Could you please help?
@Levichev commented on GitHub (May 21, 2024):
@lyriccoder same issue
@ChenhuaYang commented on GitHub (May 21, 2024):
we have same issue
@Adefful commented on GitHub (May 21, 2024):
I thought I was the only one with this problem. I have an RTX 4090. After 20 minutes, it freezes. I have to restart it. Six months ago, I had the same problem, and it hasn't gone away.
@lucasbarrosomk6 commented on GitHub (May 21, 2024):
I have an RTX 4050, running llama3 and getting this issue under high load.
[GIN] 2024/05/21 - 14:36:23 | 500 | 2.0974796s | 127.0.0.1 | POST "/api/generate" time=2024-05-21T14:36:23.400-07:00 level=ERROR source=server.go:624 msg="Failed to acquire semaphore" error="context canceled" [GIN] 2024/05/21 - 14:36:23 | 500 | 3.2332771s | 127.0.0.1 | POST "/api/generate" time=2024-05-21T14:36:23.400-07:00 level=ERROR source=server.go:624 msg="Failed to acquire semaphore" error="context canceled" [GIN] 2024/05/21 - 14:36:23 | 500 | 805.2666ms | 127.0.0.1 | POST "/api/generate" time=2024-05-21T14:36:23.401-07:00 level=ERROR source=server.go:624 msg="Failed to acquire semaphore" error="context canceled" [GIN] 2024/05/21 - 14:36:23 | 500 | 5.8394386s | 127.0.0.1 | POST "/api/generate" [GIN] 2024/05/21 - 14:36:23 | 500 | 4.7348779s | 127.0.0.1 | POST "/api/generate"@iganev commented on GitHub (May 21, 2024):
Got myself a piece of weirdly broken text that crashes ollama every time. The problem I am experiencing is partly because of payloads like that, apparently. It reliably crashes it every time. Not sure how that relates to the rest of the issues.
I got this from poppler when reading a PDF file... there's something seriously messed up with it. Any version of poppler I tried produced the same text and it does indeed make ollama scream.
P.S.: Turns out those are coming from PDFs with "CID Fonts" which have "CID Maps" or "CMaps" basically mapping their font character to a regular unicode character, usually by adding a certain byte value, in my case F000. These 100% always crash ollama.
This is some clue to what's going on, but certainly not the full picture, as I can make it crash regularly with "normal" text.
@iganev commented on GitHub (May 21, 2024):
So here's how I can reproduce the issue with staggering reliability..
or
or even
My theory is that whenever something untokenizeable comes in it breaks the llm runner and causes a crash.
This happens only when
OLLAMA_NUM_PARALLELis greater than 1.N.B.!
My initial post was regarding a different error that I encountered when
OLLAMA_NUM_PARALLELwas 1. I am yet to find a reliable way to reproduce that one as well...P.S.: Further testing seems to reproduce the initially reported issue when
OLLAMA_NUM_PARALLEL=1. Seems like different symptoms of the same thing. When parallelism is enabled it appears to somewhat act like a partial fix...@mruniverse8 commented on GitHub (May 22, 2024):
I have the same issue, ollama-model service fails every 20-30 minutes
@VecherVhatuX commented on GitHub (May 22, 2024):
Yo, bro, thanks for the issue. Got a serious beef with that Ollama service also. Tried to get some fancy script running to make the model spit out smart stuff, but it’s just sittin’ there like a lazy bum. Can’t figure out what’s trippin’ it up, and now my science experiments are in the toilet. Can you fix this mess? By the way, your service is the bomb, much love!
@ciekawy commented on GitHub (May 22, 2024):
I am getting same error when using just llama.cpp server --embeddings with -np > 1 (number of slots for process requests) but only with some models
@jmorganca commented on GitHub (Jun 2, 2024):
Hi all, looking into this – sorry you're seeing Ollama hang.
@travisgu commented on GitHub (Jun 6, 2024):
Similar issue, Ollama failed to serve embedding every 5 minutes:

@mfriedman-pr commented on GitHub (Jun 11, 2024):
I also seem to have this issue in 0.1.42. After a number of sequential generate calls, the server will not respond. Subsequent calls will return this error:
ollama Response Error: no slots available after 10 retries@kojinglick-ctec commented on GitHub (Jun 13, 2024):
I've noticed it only happens with
OLLAMA_NUM_PARALLEL> 3. Using NVIDIA GeForce RTX 4090 on WSL2.@advay-pakhale commented on GitHub (Jun 18, 2024):
Haven't tested the exact value of
OLLAMA_NUM_PARALLELthat causes inference to fail, but it definitely has something to do with it. Not setting the value fixes things.@iganev commented on GitHub (Jun 19, 2024):
I find this not to be the case. It just errors out in a slightly different and less recoverable way.
@jmccrosky commented on GitHub (Jun 20, 2024):
I'm also getting this I think. After some unpredictable number of llava calls with an image and prompt, the server will seemingly hang until I drop the connection. Subsequent calls give
ollama._types.ResponseError: no slots available after 10 retries.[GIN] 2024/06/20 - 14:10:37 | 200 | 317.913792ms | 127.0.0.1 | POST "/api/chat"
[GIN] 2024/06/20 - 14:10:40 | 200 | 3.044791542s | 127.0.0.1 | POST "/api/chat"
[GIN] 2024/06/20 - 14:10:41 | 200 | 325.550292ms | 127.0.0.1 | POST "/api/chat"
[GIN] 2024/06/20 - 14:10:45 | 200 | 4.189981541s | 127.0.0.1 | POST "/api/chat"
[GIN] 2024/06/20 - 14:10:46 | 200 | 373.940917ms | 127.0.0.1 | POST "/api/chat"
[GIN] 2024/06/20 - 14:10:52 | 200 | 5.615178041s | 127.0.0.1 | POST "/api/chat"
[GIN] 2024/06/20 - 14:10:52 | 200 | 418.198541ms | 127.0.0.1 | POST "/api/chat"
[GIN] 2024/06/20 - 14:14:57 | 500 | 4m4s | 127.0.0.1 | POST "/api/chat"
[GIN] 2024/06/20 - 14:18:14 | 500 | 76.112916ms | 127.0.0.1 | POST "/api/chat"
@LoopControl commented on GitHub (Jun 21, 2024):
I'm also getting this no-slots-available error after a 15-20 minutes as well.
I'm running Ollama directly on the Ubuntu host and parallel requests in ollama has been disabled to try to make it more stable but it still happens. After it hangs, it throws 500s when trying to use the API.
Restarting the API server manually every 15ish minutes makes it unusable for long-running jobs.
@SebastianGode commented on GitHub (Jun 25, 2024):
I've got same issue when tryaing to generate embeddings with multiple threads running on an Nvidia T4.
@qdaioc commented on GitHub (Jul 15, 2024):
Same issue, any fix? thanks!
@hybra commented on GitHub (Jul 15, 2024):
I just had the same issue "no slots available after 10 retries", I don't know if this could be related or not, but the Ollama menubar icon was showing that there was an update available "Restart to update" - is maybe the server locked somehow when an update is pending?
Mac version 0.1.48 updated to 0.2.5
@iganev commented on GitHub (Jul 17, 2024):
Unfortunately, that's not the case. There's (imho) an issue with the underlying runner that ollama uses (namely
llama.cpp) that isn't resolved and doesn't get handled properly when it occurs.@Morphus1 commented on GitHub (Aug 11, 2024):
GGML_ASSERT(seq_id < n_tokens && "seq_id cannot be larger than n_tokens with pooling_type == MEAN") failed
with latest updateSorry "GIT_TAG b3534"rebuilt wrapper with latest:
GGML_ASSERT(seq_id < n_tokens && "seq_id cannot be larger than n_tokens with pooling_type == CLS") failed
GGML_ASSERT(seq_id < n_tokens && "seq_id cannot be larger than n_tokens with pooling_type == MEAN") failed
@figaroserg1 commented on GitHub (Sep 3, 2024):
Getting this error with llava model after just a few requests: no slots available after 10 retries
2024-09-03 11:44:39,890 - INFO - HTTP Request: POST http://127.0.0.1:11434/api/chat "HTTP/1.1 500 Internal Server Error"
2024-09-03 11:44:39,890 - DEBUG - receive_response_body.started request=<Request [b'POST']>
2024-09-03 11:44:39,890 - DEBUG - receive_response_body.complete
2024-09-03 11:44:39,890 - DEBUG - response_closed.started
2024-09-03 11:44:39,890 - DEBUG - response_closed.complete
2024-09-03 11:44:39,896 - DEBUG - load_ssl_context verify=True cert=None trust_env=True http2=False
2024-09-03 11:44:39,897 - ERROR - Error processing file: Ready\August 22 Gen1\test (108).jpg - no slots available after 10 retries
2024-09-03 11:44:39,898 - DEBUG - load_verify_locations cafile='C:\Users\serg\AppData\Local\pypoetry\Cache\virtualenvs\autotagger-E-BNvv9j-py3.11\Lib\site-packages\certifi\cacert.pem'
2024-09-03 11:44:40,462 - DEBUG - send_request_headers.started request=<Request [b'POST']>
2024-09-03 11:44:40,463 - DEBUG - send_request_headers.complete
2024-09-03 11:44:40,463 - DEBUG - send_request_body.started request=<Request [b'POST']>
2024-09-03 11:44:40,476 - DEBUG - send_request_body.complete
2024-09-03 11:44:40,476 - DEBUG - receive_response_headers.started request=<Request [b'POST']>
2024-09-03 11:44:41,225 - DEBUG - receive_response_headers.complete return_value=(b'HTTP/1.1', 500, b'Internal Server Error', [(b'Content-Type', b'application/json; charset=utf-8'), (b'Date', b'Tue, 03 Sep 2024 08:44:41 GMT'), (b'Content-Length', b'47')])
@mjspeck commented on GitHub (Sep 3, 2024):
This is also a major issue for my team. We're running Ollama on an Ubuntu server with two H100s. We try to call Llava 1.6 with a large text prompt an an image and experience the exact same thing. We also do NOT have
OLLAMA_NUM_PARALLELset.From testing a bit, this issue seems to come from longer prompts. Shortening our prompt made the error go away.
@liimiing commented on GitHub (Sep 13, 2024):
same error, how to resolved it?
Added image 'E:\At_Work\2a94e678-6fed-44e7-84c2-b69d92b43f33.jpg'
Error: no slots available after 10 retries
@iganev commented on GitHub (Sep 13, 2024):
You can partially mitigate the issue by enabling parallelism. It will still occur, but it will self-recover and start serving requests again in few seconds.
No permanent solution so far.
@HTK-Tech commented on GitHub (Sep 30, 2024):
My workaround ATM when I get this error is to make a request with only the keep_alive parameter set to 0 to unload the model, wait one second, and then resume making requests normally.
@dhiltgen commented on GitHub (Oct 23, 2024):
Please give the new 0.4.0 RC a try. We've rewritten the caching (and slot) model for processing requests in the new Go server, so this issue is most likely resolved.
https://github.com/ollama/ollama/releases
@giladrom commented on GitHub (Oct 27, 2024):
I can confirm
0.4.0-rc5does not fix the issue for me. It still times out after 1m40s for most workloads, which I am not sure how to resolve. Where is the 1m40s timeout coming from?@dhiltgen commented on GitHub (Oct 28, 2024):
@giladrom looking at the code, I believe your client is timing out and closing the connection before the server is able to process the request. It sounds like you may have a 100s timeout in your client code, or maybe client libraries you're using. Do you believe the system is hung when this happens? Can you try to bump up the timeout on your side and see if it is able to make forward progress or if the system is truly hung. The semaphore in question manages the concurrent requests to the model, so depending on what it got wired up with (4 or 1 depending on VRAM, unless you set OLLAMA_NUM_PARALLEL to something else) it will prevent more requests from being processing in parallel until prior requests complete.
@giladrom commented on GitHub (Oct 28, 2024):
@dhiltgen That was my conclusion too - I tried looking for 100s timeouts in my client code but couldn't find anything. I'm using LangChain, so that's probably the culprit. For now, I resolved this by using a different Embedding Model vs. Chat model (llama3.2 works fine for chat, and using nomic for embeddings, which is super fast)
@dhiltgen commented on GitHub (Oct 28, 2024):
@giladrom so just to confirm, avoiding slower models that trigger a LangChain default client-side timeout, you're able to keep running for a long period of time without hangs, is that correct? Has 0.4.0 solved the hangs for you?
@giladrom commented on GitHub (Oct 30, 2024):
@dhiltgen Correct. 0.3.6 (the docker image default) works fine with smaller embedding models, taking about 12s to complete a job that times out with llama3.2, as does 0.4.0. Trying to use llama3.2 for embeddings times out for both versions.
@KIC commented on GitHub (Oct 31, 2024):
Interestingly, I ended up here having the same issue using plain ollama server. However, I realized I only have this problem with one specific model like
hhao/openbmb-minicpm-llama3-v-2_5although it has worked just fine so far. After I delete the model and download it again the problem seems to be gone - at least for the moment.@jashanj0tsingh commented on GitHub (Nov 3, 2024):
Pardon my partial understanding of @giladrom 's use case, but I tried regular old curl request considering client timeout issue with LangChain and tried to load a model different than the one loaded already and not responding (well more on this later)**, but a simple curl request once
ollamawas in that state took approximately 10 mins to answer why the sky is blue, for me, neither docker, or building from source made any difference (even with go runner), its heartbreaking being unable to use such a great tool.**With OLLAMA_DEBUG=1 I noticed that the server didn't even manage to log the POST request on a FOREVER loaded model. Once my LangChain application got stuck waiting for ollama req/resp cycle.
Unfortunately, for me at the moment the only resolution is a reboot of the VM, and then 20 mins of sweet glory until it is time to reboot again. I have started considering vLLM at this point because there is no way this would fly in production.
Note: I am on a fully loaded VM on vCenter ( ubuntu 22.04 ), cuda 12, and 2 x 16GB Nvidia A16-16Q, 64 GB RAM
@dhiltgen commented on GitHub (Nov 3, 2024):
@jashanj0tsingh can you clarify your scenario a bit? It sounds like you are exercising 2 different models, one with LangChain as the client, one with curl. Do both of these models fit 100% in the GPU(s) or is the Ollama scheduler waiting those 10m for the LangChain client connections to close so that it can unload that model and load the secondary model requested by curl?
Can you explain a little more about what the LangChain client is doing? Is it making multiple requests in parallel, and if so, what limits does it have? Is it calling generate/chat or embedding APIs? Have you changed any scheduler settings in Ollama? Embedding models currently run a single processing thread, and our default queue size is 512 client requests, so if the LangChain client is launch hundreds of parallel requests and those in turn are taking seconds or more to process, perhaps the system isn't actually stuck, just backlogged?
Are you able to observe other metrics on the system when it gets into this state? CPU load, memory load, disk I/O, GPU load, etc.
I might be misunderstanding your scenario, but feels more like a heavy load and working through a backlog and not a "hang after 10-15 minutes" scenario, where Ollama becomes completely wedged and has to be killed to recover.
@jashanj0tsingh commented on GitHub (Nov 3, 2024):
@dhiltgen thank you for your prompt reply, really appreciate you working on a weekend, yes sure, I'd be happy to explain the scenario, I will try to answer all of your questions,
Context: I building a rather simple REST API server using FastAPI that wraps around
LangGraphandOllamato provide chat/generate endpoints with additional features such as chat history persistence etc.My Issue: After a couple of requests via the REST API the model seems unreachable, and if the request manages to reach the model somehow, it responds extremely sluggishly, imagine a streaming response with 1 word per two seconds. Experienced with or without LangGraph, consistent across binary installation, manual build ( with and without go runner ), and docker images 3.14 and 0.4.0-rc5.
My resolution: A reboot of the VM, nothing else works, killing the service, killing the container, restarting the binary, none of these work. If I don't reboot, the model will take forever to accept the request and respond extremely sluggishly, talked a bit more below.
Now, I am using smaller models like Llama 3.1 [7B] and Llama 3.2 [3B], and yes they fit with adequate room in my 2x 16 GB GPUs, also, my use case doesn't necessarily requires two separate models, that was just a test as I actively follow this thread and saw your recent conversation and since Llama 3.1 was already in that state, I tried a curl request instead with Llama 3.2, but the result was the same, firstly it took forever for the request to land at the server and then the stream response was 1 words per 2 seconds.
Embeddings are pre-created, just using a simple retriever to query the embeddings instead for a RAG like use-case. I am not doing multiple requests rather sequential conversation back and forth with one user at a time. I have not changed any scheduler settings, everything default, recently started using
keep_alive=-1to keep the model loaded forever but no luck.htopshows nothing crazy,nvidia-smiseems fine, with no memory overheads, its something I have been experiencing from quite some time, and I am not sure if its related or not but it does stop working after 10-15 minutes, max 20 minutes, and that's it.With OLLAMA_DEBUG=1 nothing suspicious jumps out in the logs as well.
Edit: I can verify if vCenter has anything to do with it but I am running a fairly small setup on an adequate hardware with enough room to spare. I am planning to verify this by running the model with
vLLM. IfvLLMworks fine it has something to do withOllama, if not then I may have a different issue.Edit2: Its just single, sequential request/response cycles with one model that behave like mentioned above.
@giladrom commented on GitHub (Nov 4, 2024):
@dhiltgen It seems there's a huge difference in performance between 0.3.x and 0.4.x after all - I just retested
0.4.0-rc6this morning and all files I've tried (ranging from a few kilobytes to 60MB PDFs) completed embedding without timing out, whereas 0.3.6 would time out for anything larger than a few megabytes.@dhiltgen commented on GitHub (Nov 4, 2024):
@jashanj0tsingh
This is interesting. Just to confirm, terminating ollama and any/all subprocesses (ollama_llama_server) does not clear it up? You mentioned you're running in a VM in vSphere, so this is ESXi passing through the GPU, correct? It seems to imply this fault may be a driver bug, or maybe a virtualization bug that somehow Ollama is triggering based on our usage patterns of the GPU. Is it possible for you to run your scenario on the bare metal to see if you see the same problem occur without virtualization involved? It may also be useful to run a
dmesg -win the VM to see if any interesting warnings/errors are being reported by the NVIDIA drivers when things slow down. For the Ollama server process, settingCUDA_ERROR_LEVEL=50may yield more warnings/errors from the cuda libraries.@iganev commented on GitHub (Nov 5, 2024):
My observation on ubuntu 22.04 nvidia 550.127.05 cuda 12.4 using nvidia-docker with ollama 0.3.14 is that it seems to behave much more stable than before.
I need to find time to do more in-depth testing, but so far I cant reproduce the issue.
@dhiltgen commented on GitHub (Nov 6, 2024):
@iganev can you give 0.4.0 a try and see if it resolves the hang after ~15m?
@jashanj0tsingh commented on GitHub (Nov 7, 2024):
@dhiltgen Wow, that was on point, it indeed was virtualization related, there was an issue that was disrupting the license token ping for the hardware, causing the virtual hardware itself to be sluggish and non-responsive, I accidentally stumbled upon this just because the fired a curl and left it and saw the next morning it landed on
ollama, anyways, I am equally relieved and embarrassed, butollamais off the hook, I just was looking in the wrong direction, apologies for the inconvenience it may have caused.@dhiltgen commented on GitHub (Nov 7, 2024):
I'm going to go ahead and close this one out now. If anyone does see the hang reappear with 0.4.0 let us know and I'll reopen the issue to investigate further.
@JTHesse commented on GitHub (Nov 8, 2024):
I'm seeing a similar behavior for 0.4.0, but with a 503 error -> #7573
@gslin1224 commented on GitHub (Jan 16, 2025):
my version is 0.4.1 , Still Have the same Issue
@jessegross commented on GitHub (Jan 17, 2025):
@gslin1224 Please try it with 0.4.4 or later as there were some additional fixes needed.
@Chleba commented on GitHub (Mar 13, 2025):
I'm still experiencing same Issue as well using vision models for labeling images. After every 30-60. calls ollama will freeze and needs to be restarted.
Using ollama v0.5.7