Encoding server using too many threads

Anything and everything to do with DCP-o-matic.
MikeKlinger
Posts: 4
Joined: Wed Dec 27, 2023 9:31 pm

Encoding server using too many threads

Post by MikeKlinger »

I've been playing around with the encoding server for a little while now.
I have an issue, with one of my servers showing up with way too many threads.
It should have 24 threads and the DCP encoding server control panel registers it with 116 threads.
And so it starts and then bails in seconds, because it gets overloaded, trying to do the job of 116 threads when there are only 24.
Any ideas on how to fix this? It's an old Mac Pro.
Carsten
Posts: 2665
Joined: Tue Apr 15, 2014 9:11 pm
Location: Germany

Re: Encoding server using too many threads

Post by Carsten »

Do you have only the encoding server installed in this old Mac Pro (as all modules are separate installs on the Mac)?

If so, install DCP-o-matic main, and then start it up and go to preferences. You can set the amount of threads to use there. Maybe you had it set it there once and forgot about it. Another way without installing the main app may be to delete the preference file on that machine. That will force the encoding server to autodetect the CPU at next startup and hopefully set a more reasonable thread number for this machine.


Also, try to keep all versions to the same number, that is, update the encoding server to the same version number you use on your workstation DCP-o-matic.

- Carsten
MikeKlinger
Posts: 4
Joined: Wed Dec 27, 2023 9:31 pm

Re: Encoding server using too many threads

Post by MikeKlinger »

These suggestions seemed to have solved the issue. Thanks.