scorchedcortex 1 Posted August 31, 2015 Share Posted August 31, 2015 (edited) Emby is maxing out my CPU at 90% or above when running idle. It also seems to spike when I run a search. It will max out the CPU for a good 2-5 minutes and then drop back down to under 10%. When Emby maxes out my CPU, everything comes to a crawl. I mostly use Emby to play mp3's. No movies. I assume playing music isn't processor intensive? Any ideas? I'm running: Emby server 3.0.5675.1 Windows 10 Pro Intel Core i7 CPU q720 @1.60GHz 8GB RAM A log from today is attached. server-63576618170.txt Edited August 31, 2015 by scorchedcortex Link to comment Share on other sites More sharing options...
scorchedcortex 1 Posted September 1, 2015 Author Share Posted September 1, 2015 (edited) Emby is maxing out my CPU at 90% or above when running idle. It also seems to spike when I run a search. It will max out the CPU for a good 2-5 minutes and then drop back down to under 10%. When Emby maxes out my CPU, everything comes to a crawl. I mostly use Emby to play mp3's. No movies. I assume playing music isn't processor intensive? Any ideas? I'm running: Emby server 3.0.5675.1 Windows 10 Pro Intel Core i7 CPU q720 @1.60GHz 8GB RAM A log from today is attached. Also, I just noticed that whenever I try to add an album to one of my playlists, the CPU maxes out (95%) for a minute or so as well. I get the spinning circle and maxed out CPU until the items are added, which takes a minute or more. Edited September 1, 2015 by scorchedcortex Link to comment Share on other sites More sharing options...
chef 3745 Posted September 2, 2015 Share Posted September 2, 2015 I can only speculate here, but one of the coding tricks is to use parellell routines which force the CPU to calculate information quickly. This cause high CPU percentages. Again only speculating but, when using asynchronous routines (or long running tasks) from the server, the parellell routines are used to play catch up so things seem fairly instantaneous to the user. Adding an ablum to a playlist would use an async request for info, and then use parellell loops to try and quickly sort the Data Transfer Objects info to utilize. Again, I maybe in left field here, but if you see high CPU, this is probably why. But, an i7 chip should handle all that gracefully, so there might be something else at play here. Link to comment Share on other sites More sharing options...
scorchedcortex 1 Posted September 2, 2015 Author Share Posted September 2, 2015 I can only speculate here, but one of the coding tricks is to use parellell routines which force the CPU to calculate information quickly. This cause high CPU percentages. Again only speculating but, when using asynchronous routines (or long running tasks) from the server, the parellell routines are used to play catch up so things seem fairly instantaneous to the user. Adding an ablum to a playlist would use an async request for info, and then use parellell loops to try and quickly sort the Data Transfer Objects info to utilize. Again, I maybe in left field here, but if you see high CPU, this is probably why. But, an i7 chip should handle all that gracefully, so there might be something else at play here. Thanks for the info, But would what you are suggestiong actually MAX out the CPU? It spikes to 95% for at least a minute or more. That seems excessive to me. Any thoughts? I can include more logs if necessary. This is a real problem as it cripples Emby for me. Link to comment Share on other sites More sharing options...
chef 3745 Posted September 2, 2015 Share Posted September 2, 2015 (edited) Okay from the server log I see a couple errors happening regarding auth tokens being expired, which could be nothing more then clients changing version numbers, and re authenticating. Are you saving metadata locally, or are you scraping images from the Internet for your collection on the fly? Edited September 2, 2015 by chef Link to comment Share on other sites More sharing options...
scorchedcortex 1 Posted September 2, 2015 Author Share Posted September 2, 2015 Okay from the server log I see a couple errors happening regarding auth tokens being expired, which could be nothing more then clients changing version numbers, and re authenticating. Are you saving metadata locally, or are you scraping images from the Internet for your collection on the fly? I believe I am just getting images from the internet. I just used the standard settings when installing. Should I change that? Again, these are all just mp3 songs, albums, etc. Link to comment Share on other sites More sharing options...
chef 3745 Posted September 2, 2015 Share Posted September 2, 2015 Just to make sure, see if the settings for saving metadata locally are set. Under: server manager > metadata > save metadata locally (or something like save artwork to folder) If your system is grabbing images from the Internet each time it does a media refresh, and then using the Coverart plugin to treat the images, it would definitely run your CPU really really high. At least we can try and rule this out. Link to comment Share on other sites More sharing options...
scorchedcortex 1 Posted September 2, 2015 Author Share Posted September 2, 2015 (edited) Just to make sure, see if the settings for saving metadata locally are set. Under: server manager > metadata > save metadata locally (or something like save artwork to folder) If your system is grabbing images from the Internet each time it does a media refresh, and then using the Coverart plugin to treat the images, it would definitely run your CPU really really high. At least we can try and rule this Is this what you are talking about? Please see screen shot. Thanks for your help! Edited September 2, 2015 by scorchedcortex Link to comment Share on other sites More sharing options...
chef 3745 Posted September 2, 2015 Share Posted September 2, 2015 (edited) Yeah, check the box which saves metadata to folders. The scan may take a while because it is going to download all the images and create the XML files nessessary for you collection. The next time you run a scan it should be faster. This will also take up space on your HD, but should be worth it for the faster media scan, and also you will probably see quite a difference in your CPU clock, because it is not scraping all the information from the Internet each time. Let me know if you notice a difference. I think you will. Edited September 2, 2015 by chef Link to comment Share on other sites More sharing options...
scorchedcortex 1 Posted September 9, 2015 Author Share Posted September 9, 2015 Yeah, check the box which saves metadata to folders. The scan may take a while because it is going to download all the images and create the XML files nessessary for you collection. The next time you run a scan it should be faster. This will also take up space on your HD, but should be worth it for the faster media scan, and also you will probably see quite a difference in your CPU clock, because it is not scraping all the information from the Internet each time. Let me know if you notice a difference. I think you will. I tried everything you suggested with no luck. My CPU stays maxed at 75% or above when idle. It never goes down now! Please see attached log from today. Pease help! This cripples my Emby server and makes it unusable! server-63577399147.txt Link to comment Share on other sites More sharing options...
Luke 37060 Posted September 9, 2015 Share Posted September 9, 2015 it looks like the server is probing new videos in that log. that could be the reason for the cpu spike and not the search. Link to comment Share on other sites More sharing options...
scorchedcortex 1 Posted September 9, 2015 Author Share Posted September 9, 2015 (edited) it looks like the server is probing new videos in that log. that could be the reason for the cpu spike and not the search. So how do I fix that? I don't have any videos in my library. Edited September 9, 2015 by scorchedcortex Link to comment Share on other sites More sharing options...
Luke 37060 Posted September 9, 2015 Share Posted September 9, 2015 rather it's processing new media. just let the scan finish or stop the scan, then try again. if the scan is constantly performing this probing activity, ensure that file timestamps in your media directories aren't changing. Link to comment Share on other sites More sharing options...
scorchedcortex 1 Posted September 9, 2015 Author Share Posted September 9, 2015 rather it's processing new media. just let the scan finish or stop the scan, then try again. if the scan is constantly performing this probing activity, ensure that file timestamps in your media directories aren't changing. Sorry to ask Luke, but how do I check the timestamps of my files? Thye are all mp3's on an external drive. Thanks for your help! Link to comment Share on other sites More sharing options...
scorchedcortex 1 Posted September 10, 2015 Author Share Posted September 10, 2015 rather it's processing new media. just let the scan finish or stop the scan, then try again. if the scan is constantly performing this probing activity, ensure that file timestamps in your media directories aren't changing. Still no luck. It actually maxed out my CPU well after a scan stopped. I'm talking like 80-95% CPU usage for at least 30 minutes while idle. Could Windows 10 be a problem? Please help! 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