FAQ  •  Register  •  Login

Serviio Service High CPU

<<

lexluthor

Streaming enthusiast

Posts: 26

Joined: Thu Jan 10, 2013 6:52 pm

Post Thu Jan 17, 2013 5:17 pm

Re: Serviio Service High CPU

zip wrote:
lexluthor wrote: According to resource monitor, serviioservice has 54 threads open right now.

NOt sure if it's possible, but can you somehow get a list of the threads?

It's not the pure number of processes. The desktop that has no utilization also has 50 or so threads.

Found a great app called process explorer. It appears to allow me to look inside a process and the individual threads.
http://technet.microsoft.com/en-us/sysi ... s/bb896653

In this case, it's pretty obvious that all of the CPU usage of the serviioservice is in one thread. Not sure what data I can give you though. The thread is using MSVCR100.dll. TID is 9396. Each time I click stack, it gives me different things on the stack.

Maybe you can take a look at the app and see you what I can provide you with.

Here are some of the things that appear in the stack. It gives me a different thing each time.

ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
igdkmd64.sys!hybDriverEntry+0x23c15d
ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!CcGetDirtyPages+0xa34

ntoskrnl.exe!KeWaitForMultipleObjects+0xe1f
ntoskrnl.exe!KeSynchronizeExecution+0xd7c

ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x732
ntoskrnl.exe!KeWaitForMutexObject+0x19f

ntoskrnl.exe!KeWaitForMultipleObjects+0xc0a
ntoskrnl.exe!KeAcquireSpinLockAtDpcLevel+0x732
ntoskrnl.exe!KeWaitForMutexObject+0x19f
ntoskrnl.exe!_misaligned_access+0xba4
ntoskrnl.exe!_misaligned_access+0x1821

ntoskrnl.exe!KeWaitForMultipleObjects+0xe1f
ntoskrnl.exe!KeSetTimer+0x708

Can't imagine this helps, but I'm attaching a mini dmp that this program let's me generate. The full dump is way larger.

Any of that tell you anything?
Attachments
ServiioService_mini.zip
(156.56 KiB) Downloaded 271 times
<<

lexluthor

Streaming enthusiast

Posts: 26

Joined: Thu Jan 10, 2013 6:52 pm

Post Thu Jan 17, 2013 7:09 pm

Re: Serviio Service High CPU

Figured I'd start the service up again.

serviioservice is now at about 75% CPU util and has 3 threads each running at 25%. Same info in those threads that I sent you earlier.

I hope you have some direction to take on this.

Sorry for all of the posts.

Hope, in the look run, it just makes your program better!
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Jan 17, 2013 7:16 pm

Re: Serviio Service High CPU

Your log covered 8 minutes from 10:16:37,620 to 10:24:49,811

First 3 minutes were serviio startup and parsing of online feeds
These finished at 10:19:40,820

Then Serviio did nothing for 5 minutes to 10:24:49,811

Can't see how it was a steady 50% for the whole time.

I too have ~50+ threads in Serviio service so thats normal but I have almost no cpu load.
<<

lexluthor

Streaming enthusiast

Posts: 26

Joined: Thu Jan 10, 2013 6:52 pm

Post Thu Jan 17, 2013 7:25 pm

Re: Serviio Service High CPU

Don't know. There's got to be some way to figure it out. I can get whatever tools and run whatever you want.

I stopped and started the service again and it's at 0% now.

I'm sure after another stop / start or reboot, it'll be back up high again.

Something not right is going on. Since I can pretty much reproduce it on 2 PCs, not sure if it could be on my end.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Jan 17, 2013 7:47 pm

Re: Serviio Service High CPU

You need to relate your CPU activiy to Serviio activity.

I use notepad+ to monitor the Serviio (debug) log while Serviio is running.
Just need to "reload from disk" under "file" to get the latest, and look at the last few lines.

If you have that beside the resource Monitor display you can relate the 2.

I suggest you set serviio with no library refreshes and no enabled feeds, then reboot Serviio and monitor/note cpu until it loads and is stable.

Then enable an online feed and monitor it untill it loads and stablizes.

Then add one at a time as you wish. (Do these in the order they are in the console)

You could then restart Serviio and see if the aggregate repeats the performance since Serviio will load the online feeds one at a time in the console order, but there will be no stable periods between them.

This might give you some idea of whats happening and allow you to see what the actual load is each time Serviio stabilizes.
<<

lexluthor

Streaming enthusiast

Posts: 26

Joined: Thu Jan 10, 2013 6:52 pm

Post Thu Jan 17, 2013 7:57 pm

Re: Serviio Service High CPU

jhb50 wrote:You need to relate your CPU activiy to Serviio activity.

I use notepad+ to monitor the Serviio (debug) log while Serviio is running.
Just need to "reload from disk" under "file" to get the latest, and look at the last few lines.

If you have that beside the resource Monitor display you can relate the 2.

I suggest you set serviio with no library refreshes and no enabled feeds, then reboot Serviio and monitor/note cpu until it loads and is stable.

Then enable an online feed and monitor it untill it loads and stablizes.

Then add one at a time as you wish. (Do these in the order they are in the console)

You could then restart Serviio and see if the aggregate repeats the performance since Serviio will load the online feeds one at a time in the console order, but there will be no stable periods between them.

This might give you some idea of whats happening and allow you to see what the actual load is each time Serviio stabilizes.


I think that's going to be too tricky. I can't establish a baseline. I can't seem to replicate what causes it to jump up. It's been normal and bad with online feeds. It's been normal and bad with and without my DLNA devices on. Sometimes after a reboot it's ok, sometimes not. I can stop/start the service and that fixes it and stop/start again and it spikes up. If I had some sort of baseline, I could do, as you say, add 1 thing at a time, but, right now, it's so weird that I don't think adding one thing necessarily means that's what made the problem occur.

So far, at least, the desktop PC with no online feeds as never spiked high.

Was hoping there was something obvious in the logs or somewhere, but that doesn't look like the case.

I hate to give up, but maybe I'll just do that and use it without the online feeds. I tried Plex and that's really a total mess for me(except for how the channels work), so I really don't want to go that route.

Nothing to do with the version of Java I'm using?

If you or anyone else thinks of anything else to try, please chime in.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Jan 17, 2013 9:38 pm

Re: Serviio Service High CPU

Why would you give up without even trying? The whole idea of starting up with nothing to start was to get the base line. If starting with nothing gives 2 different results the lets see the logs and your cpu notes for the 2 of them.
If they are different as you say, then it obviously has nothing to do with libraries or online sources if they are not being used.
<<

lexluthor

Streaming enthusiast

Posts: 26

Joined: Thu Jan 10, 2013 6:52 pm

Post Thu Jan 17, 2013 9:45 pm

Re: Serviio Service High CPU

jhb50 wrote:Why would you give up without even trying? The whole idea of starting up with nothing to start was to get the base line. If starting with nothing gives 2 different results the lets see the logs and your cpu notes for the 2 of them.
If they are different as you say, then it obviously has nothing to do with libraries or online sources if they are not being used.

Without trying? I've put hours in this already. Plus had hours into the other issue I posted about that I finally resolved (that was a real tough one too). Don't get me wrong, I'm a tech guy and I somewhat enjoy challenges like this, but I don't have the desire to fight this one at the moment. Maybe some other day I'll take another shot at it. Having online feeds isn't that important to me at the moment.

And if you read though the whole thread, you'll see that it's so screwy that I can't even get a baseline. I could start with nothing, add a feed, have the CPU jump, then remove the feed and have the CPU still high. I haven't yet been able to determine a valid test. Do I stop/start the service between things? Do I reboot between things? Even then, the results are still jumping all over the place.
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Thu Jan 17, 2013 10:25 pm

Re: Serviio Service High CPU

once you add a feed I would wait for a bit for it to finish downloading data and indexing the vids... once it finishes this initial "scan" your cpu usage should pretty much go back to zero. then try to add another feed.

If you remove a feed while it's still indexing.. I don't think it's going to just shut down the process.. hence why you may be seeing continued CPU usage.

Also you mentioned that you were having issues with overheating? with all four cores enabled? maybe you should consider upgrading your cpu cooler?
<<

lexluthor

Streaming enthusiast

Posts: 26

Joined: Thu Jan 10, 2013 6:52 pm

Post Thu Jan 17, 2013 10:29 pm

Re: Serviio Service High CPU

slyguy42o wrote:once you add a feed I would wait for a bit for it to finish downloading data and indexing the vids... once it finishes this initial "scan" your cpu usage should pretty much go back to zero. then try to add another feed.

If you remove a feed while it's still indexing.. I don't think it's going to just shut down the process.. hence why you may be seeing continued CPU usage.

Also you mentioned that you were having issues with overheating? with all four cores enabled? maybe you should consider upgrading your cpu cooler?

If I decide to go back at it again, yes, I'll have to be a bit more methodical about it.

That's a whole different story. Had this PC for a while and never had it overheat. I guess anything that taxes the CPU would cause the same issue. I guess I just never have done anything too strenuous on it.
Previous

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 23 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.