Jump to content


Photo

99% CPU and errors in log

cpu windows server errors

  • Please log in to reply
28 replies to this topic

#1 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 01:19 PM

Just recently MB3 has had almost 99% CPU utilization. I have to end the process and restart the server. This has been going on for the last week or so. I'm not sure if it has to do with MB+ that I recently installed, but I uninstalled it and I'm still having the issues. I have a large media library, so I'm not sure if that is causing the problem or not as well.

 

I'm on 3.0.54.82.1. I was getting DLNA errors and subtitle download errors, so I turned off both of those features as well, but I'm still having problems with the server being unresponsive because it is processing something in the background.

 

A reboot solves the problem, but not for very long. This last one it was only about 3 hours before the CPU utilization crept back to 99%.

Attached Files



#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47409 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 01:27 PM

If you look in task manager, what process is actually eating up the CPU cycles?



#3 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 01:35 PM

MediaBrowser.ServerApplication.exe*32

 

Also, kind of weird and maybe related, my ServerWMC on a different PC keeps crashing, and so when I start MB3, it has recently reported that it can't refresh the guide. I start the service again on the other PC (and I've rebooted it numerous times as well), but ServerWMC has been unstable lately.



#4 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 01:37 PM

Here's the last error in ServerWMC:

2015/01/06 11:15:33.410 Uncaught Thread Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at ServerWMC.Worker.SocketServer.ReceiveCallback(IAsyncResult ar)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
2015/01/06 11:15:53.392 Received client request: MediaBrowser^@FILESERVE@|192.168.1.10|GetServerVersion
2015/01/06 11:15:53.416 Finished request GetServerVersion in 0.02s


#5 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47409 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 01:38 PM

Does it happen if you remove the ServerWMC plug-in?



#6 jds828 OFFLINE  

jds828

    Advanced Member

  • Members
  • 267 posts
  • Local time: 11:54 AM

Posted 06 January 2015 - 01:38 PM

I had ffmpeg.exe eating up nearly 70% on an i7 3770k.

 

I can't think of anything I altered but it's now dropped to between 10 and 20%. Still a tad high but much better than before. It was doing in on both remote and local so not sure.



#7 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 01:40 PM

I haven't tried. I could try it now and wait and see if the problem returns.



#8 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 01:42 PM

I don't see a place where I could remove the setting on the LiveTV tab.



#9 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 01:45 PM

OK - I uninstalled the plugin. Sorry - I was looking at the configuration page.



#10 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 03:15 PM

So, it's only been 1 1/2 hours and I'm back to 99%. I removed the ServerWMC plugin and I'm still having the same issue.

 

Log file (10.9MB):

https://www.dropbox....141524.txt?dl=0



#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139743 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 09:02 PM

well same questions apply as before, what processes?



#12 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 06 January 2015 - 11:15 PM

Same one - MediaBrowser.ServerApplication.exe*32 is the offender. In reality, everything else besides "System Idle Process" is around 2% or less.

 

That's the only one I have running for MB3 on this server. I've seen up to about 900,000K in memory utilized by MB3 as well when it gets to 99%.  It's been running for about 5 hours now, and even though MB3 hasn't been used very much during that time, it's hovering around 50% CPU.



#13 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 07 January 2015 - 10:22 AM

Another 99% utilization bout this morning.  Here's this morning's logfile.

Attached Files



#14 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47409 posts
  • Local time: 05:54 AM

Posted 07 January 2015 - 10:55 AM

Do any tasks show as running in the Scheduled Tasks panel when this happens?



#15 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 07 January 2015 - 11:51 AM

Hmmm, do you want me to provide a WIndows event log on this? Looking at the page for reporting errors, it describes how to view the Event Viewer > Applications and Services Logs > Media Browser, but I don't have that on this server (Server 2K8 R2), so I'm not sure if that's the logs you're asking for.

 

I haven't "caught" MB3 in the act of jetting to 99% so far, so I couldn't tell you whether one of them is running during the time. I can provide a list of the scheduled tasks on the system:

 

54ad55f94d86a_Server.jpg



#16 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47409 posts
  • Local time: 05:54 AM

Posted 07 January 2015 - 11:52 AM

No, scheduled tasks in the server...



#17 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 07 January 2015 - 11:53 AM

It doesn't look like I have any scheduled tasks - the box is empty when I look at the Task Status -> Last 7 days.



#18 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47409 posts
  • Local time: 05:54 AM

Posted 07 January 2015 - 12:36 PM

I'm talking about here:

 

54ad606c1e27f_schedtasks.png

 

Are any of these running when your CPU is pegged?



#19 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 07 January 2015 - 12:44 PM

OK - let me try to catch it when it is pegged. The problem is that usually the interface times out when it is at 99%, so I can't even see the page. I don't think it is resulting from a library scan because the scan happens when I reboot and it completes successfully. I was hoping the log file would show what is running and causing the error.



#20 oldschool OFFLINE  

oldschool

    Advanced Member

  • Members
  • 369 posts
  • Local time: 05:54 AM

Posted 07 January 2015 - 10:53 PM

The browser doesn't connect. I've tried refreshing the browser numerous times using the browser on the server and MB3 doesn't respond, so I couldn't tell you what scheduled MB3 tasks were running to cause it.

 

It hit 99% tonight. Memory utilization was/is 64%, so it doesn't seem to be running out of system memory.

 

54adf01a04258_20150107_204916.png

 

I've uploaded a new log file for the latest lock up.


Edited by oldschool, 07 January 2015 - 10:54 PM.






Also tagged with one or more of these keywords: cpu, windows, server, errors

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users