High cpu usage with Serviio Media Browser

Boo Berry

Moderator + Beta Tester
Moderator
How high does it go?

Thinking about it some, the higher memory usage/spikes might be something we have to live with due to Adguard processing video and other resource-heavy web tasks and applets like Flash and Java. Also I'm not sure how much .NET code is still used in Adguard, if any, but as far as I know .NET applications are known to use larger amounts of resources too. Perhaps avatar has some ideas to reduce memory spikes and overall resource usage but seeing how web browsers also seem to spike in resource usage when visiting resource-heavy sites, I'm not so sure. Still, I'm curious here.

Resource usage isn't an issue for me since I have ample amounts of RAM and CPU power to spare.
 

rickyoh

Beta Tester
confirmed, though in my case all cores are taxed with AdguardSvc using an average 18% CPU. it seems the only way to return CPU use to normal is to restart Adguards service. also @offguard have you found that watching videos on serviio is slower with Adguard protection enabled ?
 
Last edited by a moderator:

avatar

Administrator
Staff member
Administrator
Please try again with new beta-version.

We won't remove CPU usage at all but it should be less now.
 

offguard

Beta Tester
I've tried latest beta but I'm usually getting a "303: Failed to load a resource: Unable to load resources: Error #2036" message at first when playing video. If the video plays fine, i can pause/continue without skipping during playback. But the video gets stuck after i skip to another part. With Adguard disabled no problem at loading/skipping.

Also no high cpu usage while playing.
 
Last edited:

offguard

Beta Tester
CPU usage ~15%
Memory usage 70-130 MB (avg. 100)

but AdguardSvc crashed once with an error:
Code:
Application: AdguardSvc.exe
Framework Version: v4.0.30319
Description: An unhandled exception occurred and the process was terminated.
Exception Info: System.OutOfMemoryException
Stack:
   at System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
AdguardSvc_crash01.png

Adguard 5.9.1063.5441 Beta
 
Last edited:

avatar

Administrator
Staff member
Administrator
but AdguardSvc crashed once with an error:
Code:
Application: AdguardSvc.exe
Framework Version: v4.0.30319
Description: An unhandled exception occurred and the process was terminated.
Exception Info: System.OutOfMemoryException
Stack:
   at System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
Wow, this is rare.

Could you please send us Adguad and Windows logs:
http://kb.adguard.com/index.php?/Knowledgebase/Article/View/23/10/how-can-i-get-adguard-log-files
http://kb.adguard.com/index.php?/Knowledgebase/Article/View/27/10/how-can-i-get-windows-log-files
 

offguard

Beta Tester
Sorry, I don't know why but i deleted Windows logs after my previous post. If you want the rest of the logs i can send them to you.
 

avatar

Administrator
Staff member
Administrator
Sorry, I don't know why but i deleted Windows logs after my previous post. If you want the rest of the logs i can send them to you.
I need windows logs for one thing only - to find out precise time of the service crash.
 

User13777

New Member
You can try these solution to get ride of the High PU usage issue:

Clear Event Viewer Logs
Download and install all available Windows updates
Scan your computer for viruses and malware
Find and Disable the service that causes the “svchost” high CPU usage problem
 
Last edited by a moderator:

User13777

New Member
Just going in and disabling services, unless you know EXACTLY what they are and how disabling them will affect the system, is something I can't recommend.
You can see the brief solution on given link. I have tried it and it really did work for me. I am suggesting this solution after research.
 
Top