W0725 20:22:50.152667 MAIN main.cpp:917] Loading plugin(s) from: /usr/local/share/orthanc/plugins
E0725 20:22:50.152708 MAIN PluginsManager.cpp:247] Inexistent path to plugins: /usr/local/share/orthanc/plugins
W0725 20:22:50.152717 MAIN main.cpp:1722] Using a custom database from plugins
W0725 20:22:50.152728 MAIN OrthancInitialization.cpp:526] Storage directory: “/var/lib/orthanc/db”
W0725 20:22:50.159206 MAIN PluginsManager.cpp:158] The database schema already exists, checking if it needs to be updated
W0725 20:22:50.173607 MAIN main.cpp:1688] The DB latency is 137 µs
W0725 20:22:50.173648 MAIN HttpClient.cpp:1195] HTTPS will use the CA certificates from this file: /etc/ssl/certs/ca-certificates.crt
I0725 20:22:50.173661 MAIN HttpClient.cpp:516] (http) Setting the default timeout for HTTP client connections: 180 seconds
I0725 20:22:50.173676 MAIN HttpClient.cpp:500] (http) Setting the default proxy for HTTP client connections:
I0725 20:22:50.173691 MAIN DicomAssociationParameters.cpp:397] (dicom) Default timeout for DICOM connections if Orthanc acts as SCU (client): 10 seconds (0 = no timeout)
I0725 20:22:50.174189 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL
I0725 20:22:50.174386 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL
I0725 20:22:50.174680 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL
I0725 20:22:50.174928 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL
I0725 20:22:50.175125 MAIN PluginsManager.cpp:162] (plugins) Closing connection to PostgreSQL
W0725 20:22:50.175359 MAIN PluginsManager.cpp:224] Unregistering plugin ‘connectivity-checks’ (version 1.12.4)
W0725 20:22:50.175787 MAIN PluginsManager.cpp:224] Unregistering plugin ‘dicom-web’ (version 1.17)
W0725 20:22:50.176265 MAIN PluginsManager.cpp:224] Unregistering plugin ‘housekeeper’ (version 1.12.4)
W0725 20:22:50.176564 MAIN housekeeper:/Plugin.cpp:937] Housekeeper plugin is finalizing
W0725 20:22:50.176774 MAIN PluginsManager.cpp:224] Unregistering plugin ‘orthanc-explorer-2’ (version 1.5.1)
W0725 20:22:50.177249 MAIN PluginsManager.cpp:224] Unregistering plugin ‘postgresql-index’ (version 6.2)
W0725 20:22:50.177660 MAIN PluginsManager.cpp:158] PostgreSQL index is finalizing
W0725 20:22:50.177989 MAIN PluginsManager.cpp:224] Unregistering plugin ‘postgresql-storage’ (version 6.2)
W0725 20:22:50.178385 MAIN PluginsManager.cpp:158] PostgreSQL storage area is finalizing
W0725 20:22:50.179214 MAIN PluginsManager.cpp:224] Unregistering plugin ‘transfers’ (version 1.5)
W0725 20:22:50.179601 MAIN PluginsManager.cpp:158] Transfers accelerator plugin is finalizing
E0725 20:22:50.179848 MAIN main.cpp:2133] Uncaught exception, stopping now: [boost::thread_resource_error: Resource temporarily unavailable]
W0725 20:22:50.180132 MAIN main.cpp:2147] Orthanc has stopped
No, never seen this error. This error should appear only if you are trying to create thousands of threads …
Anything non-default in your configuration ?
Startup command: exec “Orthanc /tmp/orthanc.json”
W0726 13:53:47.861497 MAIN main.cpp:2059] Orthanc version: 1.12.4
W0726 13:53:47.861690 MAIN OrthancConfiguration.cpp:58] Reading the configuration from: “/tmp/orthanc.json”
W0726 13:53:47.893765 MAIN main.cpp:917] Loading plugin(s) from: /run/orthanc/plugins
E0726 13:53:47.893807 MAIN PluginsManager.cpp:247] Inexistent path to plugins: /run/orthanc/plugins
W0726 13:53:47.893817 MAIN main.cpp:917] Loading plugin(s) from: /usr/share/orthanc/plugins
W0726 13:53:47.905883 MAIN PluginsManager.cpp:274] Registering plugin ‘gdcm’ (version 1.7)
W0726 13:53:47.906274 MAIN PluginsManager.cpp:158] Orthanc will use GDCM to decode transfer syntax: 1.2.840.10008.1.2.4.90
W0726 13:53:47.906296 MAIN PluginsManager.cpp:158] Orthanc will use GDCM to decode transfer syntax: 1.2.840.10008.1.2.4.91
W0726 13:53:47.906303 MAIN PluginsManager.cpp:158] Orthanc will use GDCM to decode transfer syntax: 1.2.840.10008.1.2.4.92
W0726 13:53:47.906310 MAIN PluginsManager.cpp:158] Orthanc will use GDCM to decode transfer syntax: 1.2.840.10008.1.2.4.93
W0726 13:53:47.906322 MAIN PluginsManager.cpp:158] Throttling GDCM to 4 concurrent thread(s)
W0726 13:53:47.906344 MAIN PluginsManager.cpp:158] Version of GDCM: 3.0.24
W0726 13:53:47.906881 MAIN PluginsManager.cpp:274] Registering plugin ‘orthanc-explorer-2’ (version 1.5.1)
W0726 13:53:47.907216 MAIN PluginsManager.cpp:158] Root URI to the Orthanc-Explorer 2 application: /ui/
W0726 13:53:47.907363 MAIN OrthancInitialization.cpp:427] SQLite index directory: “/var/lib/orthanc/db”
W0726 13:53:47.907720 MAIN OrthancInitialization.cpp:526] Storage directory: “/var/lib/orthanc/db”
W0726 13:53:47.908386 MAIN HttpClient.cpp:1195] HTTPS will use the CA certificates from this file: /etc/ssl/certs/ca-certificates.crt
W0726 13:53:47.908605 MAIN PluginsManager.cpp:224] Unregistering plugin ‘gdcm’ (version 1.7)
W0726 13:53:47.912344 MAIN PluginsManager.cpp:224] Unregistering plugin ‘orthanc-explorer-2’ (version 1.5.1)
E0726 13:53:47.914253 MAIN main.cpp:2133] Uncaught exception, stopping now: [boost::thread_resource_error: Resource temporarily unavailable]
W0726 13:53:47.914304 MAIN main.cpp:2147] Orthanc has stopped
I actually already heard of this problem once with one of our customers but it took me a while to find the discussion back… After days of trials and errors on many systems, this was the final comment from our customer:
after some investigation it ended up that updating the Docker version itself resolved that issue
Thanks Alain. Just updated the Docker version and was able to get the container up and running but only on version 24.2.0. Once I try 24.6.1, Orthanc crashes with the same boost error. Again, no environmental variables, no configuration file.
Can you try to find which version introduces the incompatibility ?
Note: there is a base image update from bullseye to bookworm between 24.3.2 and 24.3.3 so that’s probably a good starting point to search for …