DUG 3 Posted October 19, 2016 Share Posted October 19, 2016 CPU hits 100% on all cores and remains there until (it seems) i restart. So ive built up a few HTPC's pretty much all the same spec, nothing fancy - but more than enough. I have this one which is griefin me; WIN 7 SP1 Home premium 64bit Core 2 Quad Q9400 4GB DDR2 primary HDD = 256GB SSD movies HDD = 3tb 5200rpm TV shows HDD = 2tb 5200rpm Emby server 3.0.8200.0 I rebuilt it last week using an SSD as primary. it seems to work fine, but every now and then hits 100% CPU usage and remains there until i restart it or force stop the process using all the cpu.. which appears to be FFMPEG.exe. I'm not watching anything at the time, nor is anything else running, not even any scheduled tasks in Emby and they seem to run OK after I force stop FFMPEG.exe the other odd thing is the number of instances of FFMPEG, when this occurs its always a large number of them , most recent is 36. I havent seen this on any other HTPC's that ive build was suspecting the HDD's, but they scan ok no errors. memory seems ok also I ruled out an OS issue as this is a fresh build. using the same copy Ive used on one i built 3 weeks ago and many before that. my gut says its some sort of hardware issue, i havnt found one It seems to happen more often after adding new content is ffmpeg used as part of the live scan of the media libraries? how do limit its CPU usage? I tried changing its CPU affinity and priority in task manager but that doesn't hold or seem to make any difference. any ideas? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted October 19, 2016 Share Posted October 19, 2016 (edited) You will need to post a server log, but I bet it is "Real Time Monitoring" related if nothing else is running. is ffmpeg used as part of the live scan of the media libraries? Yes it is used for getting media info for each item. Edited October 19, 2016 by Happy2Play Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted October 20, 2016 Share Posted October 20, 2016 (edited) My question would be - Is it actually causing a problem with the overall functioning of the device? Running your processor at 100% is not a bad thing. They are designed to give you full power when needed and slow down and cool down after that. As long as everything else is functioning within designed parameters, you should just let it do its work. Maybe set the scheduled tasks to run at times you won't be using the machine directly. Edited October 20, 2016 by Koleckai Silvestri Link to comment Share on other sites More sharing options...
Luke 37098 Posted October 20, 2016 Share Posted October 20, 2016 Well we shouldn't have all those ffmpeg processes running. Please provide an emby server log from the timeframe. Instructions are here: https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks ! Link to comment Share on other sites More sharing options...
nominion 7 Posted October 23, 2016 Share Posted October 23, 2016 Seems to be the same problem I'm experiencing. I'm recording/watching 3 shows right now. 38 ffmpeg.exe processes running. My thread is: https://emby.media/community/index.php?/topic/40574-high-cpu-when-server-configured-to-convert-live-tv-to-mp4/ Link to comment Share on other sites More sharing options...
speedingcheetah 39 Posted October 25, 2016 Share Posted October 25, 2016 I have sometimes had FFMPEG messup..or stop responding and sho multiple instances. Just kill all them in task manager and restart server. U can also try the newest build of ffmpeg directly from dev, and set Emby to use that instead of built in. Works great fro me. Link to comment Share on other sites More sharing options...
DUG 3 Posted December 7, 2016 Author Share Posted December 7, 2016 sorry guys, i didn't realize anyone responded. that was a friends HTPC, his got it back now. when all cores hit 100% the system becomes usable, it pretty much acts like a Pentium 90 with 32mb of RAM trying to run Vista. after a few restarts and 8 hours , the scheduled tasks completed. and so far it seems fine. though he has Netflix now and doesn't use it much anymore, i guess ill find out. im putting it down to an old system with a large database on 2 slow spin disks Link to comment Share on other sites More sharing options...
PVTD 37 Posted December 7, 2016 Share Posted December 7, 2016 (edited) Enabling CPU throttling will help in this case, it limits the use so you still have some head to work with. Is it enabled? and select Enable Throttling. The conversion will usually convert faster then you are streaming, so it uses most of what the CPU can, your CPU is not great with multiple streams at once thus limiting the cores could also trick it in using less, but keeping up with rendering. Correct me if im wrong! Edited December 7, 2016 by PVTD Link to comment Share on other sites More sharing options...
Luke 37098 Posted December 7, 2016 Share Posted December 7, 2016 Hi @@PVTD yes this is correct. 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