[GH-ISSUE #2201] Can Ollama run more than one instance on Ubuntu #47770

Closed
opened 2026-04-28 05:17:01 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @myrainbowandsky on GitHub (Jan 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2201

Since Ubuntu is multi-user operation system.
But I found if sb (not necessarily sudo user) is using Ollama, the other users cannot use it. How to deal with it?

Originally created by @myrainbowandsky on GitHub (Jan 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2201 Since Ubuntu is multi-user operation system. But I found if sb (not necessarily sudo user) is using Ollama, the other users cannot use it. How to deal with it?
Author
Owner

@wookayin commented on GitHub (Jan 26, 2024):

OLLAMA_HOST=0.0.0.0:<some-different-port> ollama serve

Ollama can run without sudo permissions of course.

<!-- gh-comment-id:1911643581 --> @wookayin commented on GitHub (Jan 26, 2024): `OLLAMA_HOST=0.0.0.0:<some-different-port> ollama serve` Ollama can run without sudo permissions of course.
Author
Owner

@myrainbowandsky commented on GitHub (Jan 26, 2024):

Thank you. I mean when I run ollama run llama2:70b.

<!-- gh-comment-id:1912126832 --> @myrainbowandsky commented on GitHub (Jan 26, 2024): Thank you. I mean when I run `ollama run llama2:70b`.
Author
Owner

@pdevine commented on GitHub (Jan 26, 2024):

If two requests happen at the same time, ollama will block until the first request is finished. We'll look at handling concurrent requests in a future version.

Going to close this as a duplicate of #358

<!-- gh-comment-id:1912839976 --> @pdevine commented on GitHub (Jan 26, 2024): If two requests happen at the same time, ollama will block until the first request is finished. We'll look at handling concurrent requests in a future version. Going to close this as a duplicate of #358
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#47770