Jump to content

Fix 100% CPU


ldexterldesign
 Share

Recommended Posts

ldexterldesign

ATTACHED

Hi,

 

Apologies for brevity

 

CPU just sitting at 100% after macOS reboots. I have to manually quit from Activity Monitor and Emby restart to fix it.

 

I deleted all Emby scheduled tasks so that shouldn't be relevant

 

Help?

 

Yours hopefully

log.txt

sample - number of samples.txt

sample - number of seconds.txt

sample - per cent of parent.txt

sample - per cent of thread.txt

sample - sample text.txt

post-259204-0-02490600-1572786354_thumb.png

post-259204-0-33675400-1572786363_thumb.png

post-259204-0-81796900-1572786378_thumb.png

Edited by ldexterldesign
Link to comment
Share on other sites

Hi, there's nothing obvious here. You could try uninstalling the dlna plugin, restarting the server and see if that helps.

Link to comment
Share on other sites

Similar issue, but specifically with FFMPEG during playback of live TV (log attached). Really had the fan going. It's an older Mac Mini running High Sierra. 

Link to comment
Share on other sites

ldexterldesign

Hi @@Luke,

 

Thanks for reply

 

Your suggestion seems to have worked

 

May I ask why I have so many (default?) plugins installed and what would be the implications of uninstalling them all?

 

Cheers

post-259204-0-96997300-1573048637_thumb.png

Edited by ldexterldesign
Link to comment
Share on other sites

 

 

May I ask why I have so many (default?) plugins installed and what would be the implications of uninstalling them all?

 

We put some core features into plugins because it allows us to update them in between server releases.

 

You can uninstall of them that you wish, just make sure that you're not using the feature. In other words, don't uninstall MovieDb and then come back and report that you're not getting movie posters anymore.

Link to comment
Share on other sites

ldexterldesign

No, I'll leave them alone, just checking they exist by default and that I didn't install a bunch one night and forget I did it 

 

Cheers

Link to comment
Share on other sites

  • 2 weeks later...
ldexterldesign

Unfortunately issue is back again

 

I can only think this must be related to a plugin or file access/permission issues in macOS Catalina (as I've had with numerous other apps) - would the server hang at 100% CPU if a file is unaccessible?

 

FYI I've just uninstalled all plugins except the Trakt plugin so we'll see how this goes

 

Yours hopefully

log.txt

Edited by ldexterldesign
Link to comment
Share on other sites

ldexterldesign

If I quit kill the process and restart Emby all is OK, just need to discover why this process goes haywire..?

Edited by ldexterldesign
Link to comment
Share on other sites

Unfortunately issue is back again

 

I can only think this must be related to a plugin or file access/permission issues in macOS Catalina (as I've had with numerous other apps) - would the server hang at 100% CPU if a file is unaccessible?

 

FYI I've just uninstalled all plugins except the Trakt plugin so we'll see how this goes

 

Yours hopefully

 

Are you sure this is the right log? It's very brief.

Link to comment
Share on other sites

ldexterldesign

Yea, it all kicks off around:

 

2019-11-16 06:49:53.672 Info TaskManager: IntervalTrigger fired for task: Send Download Notifications
 
... and then I enabled debug logging around:
 
2019-11-16 07:00:04.179 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Logs. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.99 Safari/537.36 Vivaldi/2.9.1705.41
2019-11-16 07:00:04.184 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Configuration. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.99 Safari/537.36 Vivaldi/2.9.1705.41
2019-11-16 07:00:04.217 Info HttpServer: HTTP Response 200 to ::1. Time: 38ms. http://localhost:8096/emby/System/Logs
2019-11-16 07:00:04.224 Info HttpServer: HTTP Response 200 to ::1. Time: 40ms. http://localhost:8096/emby/System/Configuration
2019-11-16 07:00:06.382 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Logs/embyserver.txt. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.99 Safari/537.36 Vivaldi/2.9.1705.41
2019-11-16 07:00:06.387 Info HttpServer: HTTP Response 200 to ::1. Time: 5ms. http://localhost:8096/emby/System/Logs/embyserver.txt
 
> FYI I've just uninstalled all plugins except the Trakt plugin so we'll see how this goes
 
Same issue again last night so, unless it's the Trakt plugin, it's not a plugin issue
 
Regards
Link to comment
Share on other sites

There's really nothing obvious here. We're about to release Emby Server 4.3, so you could try that once available. Thanks.

Link to comment
Share on other sites

ldexterldesign

2019-11-20 10:17:34.830 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.2.1.0
	Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll -noautorunwebapp
	Operating system: Unix 19.0.0.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll
	Processor count: 8
	Program data path: /Users/ldexterldesign/.config/emby-server
	Application directory: /Applications/EmbyServer.app/Contents/MacOS
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Forbidden
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at MediaBrowser.Providers.Manager.ProviderManager.SaveImage(BaseItem item, String url, ImageType type, Nullable`1 imageIndex, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, CancellationToken cancellationToken)
	   at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 host, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()

I wonder if this error could be related - is anyone able to help me fix?

 

I suspect it could be a file permission / access mode issue since macOS Catalina locked everything down

 

I've been round the houses with jackett and sonarr *.dlls too

 

Yours hopefully

 

PS the problem I'm trying to solve is inability to generate new images

post-259204-0-39198200-1574269644_thumb.png

post-259204-0-69897300-1574269654_thumb.png

post-259204-0-54788100-1574269668_thumb.png

post-259204-0-83167400-1574269677_thumb.png

Edited by ldexterldesign
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...