Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrency Issue: 'Server Busy' Errors After Updating Ollama #4159

Closed
mynhinguyentruong opened this issue May 5, 2024 · 2 comments · Fixed by #4160
Closed

Concurrency Issue: 'Server Busy' Errors After Updating Ollama #4159

mynhinguyentruong opened this issue May 5, 2024 · 2 comments · Fixed by #4160
Assignees
Labels
bug Something isn't working

Comments

@mynhinguyentruong
Copy link

mynhinguyentruong commented May 5, 2024

What is the issue?

Issue Summary:
Yesterday, I conducted a test where I spun up 30 concurrent goroutines and sent them as POST requests to Ollama locally. The process worked smoothly, and I received responses within approximately 2 minutes.

go ProcessPromptWithOllama() x30 times

Problem Description:
However, after updating Ollama today, I encountered the following errors:

\"error\":\"server busy, please try again. maximum pending requests exceeded\"}
\"error\":\"unexpected server status: llm busy - no slots available\"}
Reproducibility:
The issue is consistently reproducible after the Ollama update. It occurs regardless of the specific endpoint or payload used in the POST requests.

Expected Behavior:
I expected the updated Ollama to handle the concurrent requests as efficiently as it did before the update, without encountering any server overload issues.

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.1.33

@mynhinguyentruong mynhinguyentruong added the bug Something isn't working label May 5, 2024
@jmorganca
Copy link
Member

Hi @mynhinguyentruong, I'm so sorry about this issue – we'll get this fixed so more requests can be queued

@dhiltgen
Copy link
Collaborator

dhiltgen commented May 5, 2024

Dup of #4124

@dhiltgen dhiltgen closed this as completed May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants