benze 1 Posted January 13 Share Posted January 13 I have noticed recently that Emby is sometimes consuming 100% of my 1+ CPUs. When I look at the offending process, I see that it is: /system/EmbyServer -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 When I look further at my process list, I see that there are ~20 PIDs that are showing the same process information. What is this process doing, why does it consume 100% of my CPU and why are there so many of them? I am running Emby 4.7.14.10 in a docker container. Thanks, Eric Link to comment Share on other sites More sharing options...
Luke 37166 Posted January 13 Share Posted January 13 Hi, it's our home grown application to detect hardware acceleration capabilities, but it looks like that's not what's running. It looks like you've somehow managed to get 20 instances of emby server running. is that correct? Link to comment Share on other sites More sharing options...
SamES 893 Posted January 13 Share Posted January 13 6 hours ago, benze said: I have noticed recently that Emby is sometimes consuming 100% of my 1+ CPUs. When I look at the offending process, I see that it is: /system/EmbyServer -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 When I look further at my process list, I see that there are ~20 PIDs that are showing the same process information. What is this process doing, why does it consume 100% of my CPU and why are there so many of them? I am running Emby 4.7.14.10 in a docker container. Thanks, Eric That's normal, they are child processes. Press F5 (assuming that is htop) and you can see they are children. BTW, ffdetect that you are seeing is a command line argument to the main process - it's not an ffdetect process Link to comment Share on other sites More sharing options...
benze 1 Posted January 13 Author Share Posted January 13 4 hours ago, SamES said: That's normal, they are child processes. Press F5 (assuming that is htop) and you can see they are children. BTW, ffdetect that you are seeing is a command line argument to the main process - it's not an ffdetect process Thanks for the tip - I didn't realize that htop was showing me child threads. @LukeIt is a single EmbyServer process which is running in a single docker container. As SamES pointed out, they are child threads from the main server thread. There were no active connections to the server (I had just launched the server), and yet it is consuming 100% CPU. Any way to identify what/where is happening for so much CPU power? I have to manually restart the container for the CPU usage to drop to normal levels. Thanks, Eric Link to comment Share on other sites More sharing options...
Luke 37166 Posted January 13 Share Posted January 13 Hi, the server log may held shed some light: How to Report a Problem Link to comment Share on other sites More sharing options...
benze 1 Posted January 14 Author Share Posted January 14 @LukeI saw errors trying to retrieve subtitles using the SubBuzz plugin, so I temporarily disabled the offending site and restarted the server. The CPU usage seems to have decreased. I will keep an eye on it and reopen the thread if the CPU begins to spike again. I am somewhat perplexed why 5XX on subtitle retrievals should cause high CPU usage, but will report back if it rears up again. Thanks, Eric 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now