© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•7mo ago•
11 replies
mienaii

Immich is crashing server - OpenVINO?

G'day.
I'm trying to setup OpenVINO to handle the machine learning tasks. I seem to have it running:

[08/04/25 11:30:56] INFO     Starting gunicorn 23.0.0                           
[08/04/25 11:30:56] INFO     Listening at: http://[::]:3003 (8)                 
[08/04/25 11:30:56] INFO     Using worker: immich_ml.config.CustomUvicornWorker 
[08/04/25 11:30:56] INFO     Booting worker with pid: 9                         
[08/04/25 11:30:57] INFO     Started server process [9]                         
[08/04/25 11:30:57] INFO     Waiting for application startup.                   
[08/04/25 11:30:57] INFO     Created in-memory cache with unloading after 300s  
                             of inactivity.                                     
[08/04/25 11:30:57] INFO     Initialized request thread pool with 6 threads.    
[08/04/25 11:30:57] INFO     Application startup complete.                      
[08/04/25 11:31:20] INFO     Loading visual model 'ViT-B-32__openai' to memory  
[08/04/25 11:31:20] INFO     Setting execution providers to                     
                             ['OpenVINOExecutionProvider',                      
                             'CPUExecutionProvider'], in descending order of    
                             preference                                         
2025-08-04 11:31:20.876824223 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 21, index: 2, mask: {3, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
2025-08-04 11:31:20.883548101 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 19, index: 0, mask: {1, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
[08/04/25 11:30:56] INFO     Starting gunicorn 23.0.0                           
[08/04/25 11:30:56] INFO     Listening at: http://[::]:3003 (8)                 
[08/04/25 11:30:56] INFO     Using worker: immich_ml.config.CustomUvicornWorker 
[08/04/25 11:30:56] INFO     Booting worker with pid: 9                         
[08/04/25 11:30:57] INFO     Started server process [9]                         
[08/04/25 11:30:57] INFO     Waiting for application startup.                   
[08/04/25 11:30:57] INFO     Created in-memory cache with unloading after 300s  
                             of inactivity.                                     
[08/04/25 11:30:57] INFO     Initialized request thread pool with 6 threads.    
[08/04/25 11:30:57] INFO     Application startup complete.                      
[08/04/25 11:31:20] INFO     Loading visual model 'ViT-B-32__openai' to memory  
[08/04/25 11:31:20] INFO     Setting execution providers to                     
                             ['OpenVINOExecutionProvider',                      
                             'CPUExecutionProvider'], in descending order of    
                             preference                                         
2025-08-04 11:31:20.876824223 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 21, index: 2, mask: {3, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
2025-08-04 11:31:20.883548101 [E:onnxruntime:Default, env.cc:228 ThreadMain] pthread_setaffinity_np failed for thread: 19, index: 0, mask: {1, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.


However when I run a task it sends CPU usage and RAM to 100% and my system crashes and I have to hard reboot (the system is on however I can't connect).
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Immich Server crashing
ImmichIImmich / help-desk-support
2mo ago
Immich web-app is crashing.
ImmichIImmich / help-desk-support
3mo ago
ghcr.io/imagegenius/immich:openvino No longer maintained?
ImmichIImmich / help-desk-support
5mo ago
Immich Server keeps on crashing and Immich Postgress is at 100% CPU usage
ImmichIImmich / help-desk-support
2w ago