Universalmediaserver: 100% CPU usages

Created on 20 Feb 2017  路  34Comments  路  Source: UniversalMediaServer/UniversalMediaServer

is it normal for Mencoder to use up 100% of my CPU for long periods of time ?

All 34 comments

@Goten87 Maybe.

is this not bad for my CPU

@Goten87 Should i guess ? i'm not seer...

your not what ?

ok ik will try to get the CPU again up and reproduce the bug then upload it here

i cant upload a zip to github?
We don鈥檛 support that file type. with a PNG, GIF, JPG, DOCX, PPTX, XLSX, TXT, PDF, or ZIP.
Name: Debug.zip

CPU usage Image:
cpu usage

@Goten87 Add a fake _.txt_ extension to your ZIP file

still not working

even when i rename debug .log to .txt its not working

@Goten87 You can post a link from Wetransfer that we can easily download without logging.

Note: Avoid using _MEncoder_ as it's an inefficient encoder by now, FFmpeg is the default and should be prefered.

  • Did you get this issue with FFmpeg ?
  • Why did you use MEncoder ?

FFmpeg is on top
MEncoder second
TSmuxeR onder there

@Goten87 Just to mention, what is bad for the CPU is getting too hot. As long as your CPU keeps cool, there is no damage in using 100%. Whether or not your CPU is getting hot depends on how good your cooling is.

I use Corsair H100iGTX and my CPU cores almost never goes above 35掳 C. When checking you CPU temperature use something that can read your core temperatures (e.g CoreTemp and not just the CPU sink temperature.

I know this is not the main issue here, but my point is that the CPU doesn't take any damage unless it overheats. Different CPU take damage at different temperatures, and people have different ideas of how hot is "safe". I personally draw the limit at 70掳 C - I never want a CPU to get above that at any core.

i think i have the same CPU cooler @Nadahar its a water cooled one right

@Goten87 Yes. It has support for Corsair Link (the most buggy software in the history of mankind) which lets you control it, so if that's the case you could just starte Corsair Link and see the name of the cooler, along with the water temperature, core temperatures, fan speeds etc.

@nadahar why I sayed that Its becose my cpu from my server also broke under heavy load now when it gets a heavy load it Will shut down my Ubuntu server and restarts

@Goten87 Then it sounds damaged yes - it has probably overheated.

@Nadahar That's look a work for you ;-) It seem that a log's language localisation was forgotten ?

DEBUG 2017-02-20 21:28:33.517 [main] Error initializing plugin credentials: {}
java.io.FileNotFoundException: E:Universal Media Server ProfielTV seriesUMS.cred (Het systeem kan het opgegeven pad niet vinden)
at java.io.FileOutputStream.open0(Native Method)

@Goten87 It's look like you did something wrong with your credential, so you can delete your _UMS.cred_ file, as it's not working anyway. Try to recreate it.

@Goten87 Go to "Transcoding settings" tab and select "FFmpeg" video engine on the left, and deselect the "Defer to MEncoder when transcoding problematic subtitles".option.

Go in "General configuration" tab and click on "Select renderers" and deselect all renderers.

Add this renderer Philips-BDP.conf.txt and restart UMS.
Now, you can select this renderer called "Philips BDP" and try again to test if you get this issue.

Note: As a side note, you have installed Java 32-bit on your Windows 64-bit.

@Sami32 The log shows a message that comes from the OS. This happens for several exceptions, especially those coming from the file system. There's nothing we can do about that, it will be in whatever language the OS is.

@Goten87 Is that Dutch? I kinda looks like and doesn't look like Dutch at the same time 馃槙

@Goten87 To answer your question:
Yes, it was normal, as it used the wrong renderer having a minimal support, leaving your computer transcode near every videos.

@Nadahar Netherlands ?

yeah its dutch @Nadahar and it saying somthing like it cant find the path to somthing
but there is a UMS.cred in my profile folder

@Goten87 I just didn't know that Dutch had "het"/"the". As I'm Norwegian it's close enough that I can sort of read it (The system can the given path not find).

The point is that it isn't looking in your profile folder, but in E:\Universal Media Server Profiel\TV series\UMS.cred. The question is why...

@Nadahar i have made a profile for my real movies and tv shows and i have a other one for my anime

@Goten87 If the file is there, in the correct location and UMS can't read it, it has to be a permission issue. Make sure that the user under which UMS is running has write permission to the file.

@Nadahar i only have 1 user on my pc so dont know how to fix permissions on it if i delete it will it make a new one ?

@Goten87 When you create a file it inherits the permissions from the folder you create it in - so if UMS doesn't have write permission to the folder, that won't help.

To edit permissions in Windows, right-click the file and select Properties and then go to the tab Security. If you have "home edition" of Windows you're out of luck, since Microsoft has blocked access to the permissions there - so you have to boot in safe-mode to be able to edit permissions.

ok i checked the UMS.conf and this is in ther
cred.path = E:\\Universal Media Server Profiel\\TV series\\UMS.cred
if i check my anime profile its the same as my tv shows one that one will read in the cred file without probs

@Goten87 Yes, but there could still be permission issues.

If you have home-edition of Windows 10, the command line utilities might not be blocked. Open Windows PowerShell, and try:

get-acl <path> | fl

For this particular file that should be:

get-acl "E:\\Universal Media Server Profiel\\TV series\\UMS.cred" | fl

The user under which UMS is running need to have Modify or FullControl. It doesn't matter if you just "have one user", Windows has some built-in users and groups so there's always more than one.

If you can't start PowerShell (I don't know how crippeled the "Home Editions" are as I don't use them), start a "Command Line" (run cmd) and try:

icacls <path>

For this particular file that should be:

icacls "E:\\Universal Media Server Profiel\\TV series\\UMS.cred"

The output from icacls is somewhat more cryptic. If you don't understand it paste it here.

@nadahar I have win 10 pro so I think I can use powershell Will try it tomorow going to sleep now

@Nadahar oke im so stupid xD my profiles are on F: and not E:
jep chanced the path to F: and not its fixed

@Goten87 Can we close this issue now ?

sure

Was this page helpful?
0 / 5 - 0 ratings