[GH-ISSUE #6881] pulling a big model can freeze the cpu #50862

Closed
opened 2026-04-28 17:16:57 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @remco-pc on GitHub (Sep 19, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6881

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

i had a cpu lock and when i was trying to type something through ssh the system crashed with cpu locks during a model download,

OS

Linux

GPU

No response

CPU

Intel

Ollama version

ollama version is 0.3.6

Originally created by @remco-pc on GitHub (Sep 19, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6881 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? i had a cpu lock and when i was trying to type something through ssh the system crashed with cpu locks during a model download, ### OS Linux ### GPU _No response_ ### CPU Intel ### Ollama version ollama version is 0.3.6
GiteaMirror added the networkingneeds more infobuglinux labels 2026-04-28 17:16:57 -05:00
Author
Owner

@dhiltgen commented on GitHub (Sep 25, 2024):

Can you clarify? When you say "system crashed" was there a kernel panic resulting in a reboot of the system, or did ollama crash? Ollama starts multiple threads downloading in parallel which can stress slow network connections (#2006 tracks rate limiting support). This could cause a remote ssh session to slow or hang during downloads, but it should recover after the download completes.

<!-- gh-comment-id:2375230637 --> @dhiltgen commented on GitHub (Sep 25, 2024): Can you clarify? When you say "system crashed" was there a kernel panic resulting in a reboot of the system, or did ollama crash? Ollama starts multiple threads downloading in parallel which can stress slow network connections (#2006 tracks rate limiting support). This could cause a remote ssh session to slow or hang during downloads, but it should recover after the download completes.
Author
Owner

@remco-pc commented on GitHub (Sep 26, 2024):

well i am not so certain now when it comes to my cpu crashes, found some log files which i now monitor, my system says cpu hard lock detected and then hangs.

<!-- gh-comment-id:2378124277 --> @remco-pc commented on GitHub (Sep 26, 2024): well i am not so certain now when it comes to my cpu crashes, found some log files which i now monitor, my system says cpu hard lock detected and then hangs.
Author
Owner

@dhiltgen commented on GitHub (Oct 15, 2024):

We fixed a bug in the last release where on retries during pull file descriptors were being left open, so on a very slow/flaky network, this may result in open socket exhaustion. Please give 0.3.13 a try and let us know if that resolves your problem.

<!-- gh-comment-id:2415325313 --> @dhiltgen commented on GitHub (Oct 15, 2024): We fixed a bug in the last release where on retries during pull file descriptors were being left open, so on a very slow/flaky network, this may result in open socket exhaustion. Please give 0.3.13 a try and let us know if that resolves your problem.
Author
Owner

@dhiltgen commented on GitHub (Oct 23, 2024):

If you still see the problem on the latest release, let us know and I'll reopen.

<!-- gh-comment-id:2430532797 --> @dhiltgen commented on GitHub (Oct 23, 2024): If you still see the problem on the latest release, let us know and I'll reopen.
Author
Owner

@remco-pc commented on GitHub (Oct 23, 2024):

It looks that an invalid cronjob caused this, i am using ollama a little bit and dont experience any crashes at all. Its working fine

<!-- gh-comment-id:2431917459 --> @remco-pc commented on GitHub (Oct 23, 2024): It looks that an invalid cronjob caused this, i am using ollama a little bit and dont experience any crashes at all. Its working fine
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#50862