Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

DTServiceHub and diagnosticd causes high CPU usage on Mac #2165

Closed
arnnis opened this issue Apr 5, 2021 · 5 comments
Closed

DTServiceHub and diagnosticd causes high CPU usage on Mac #2165

arnnis opened this issue Apr 5, 2021 · 5 comments

Comments

@arnnis
Copy link

arnnis commented Apr 5, 2021

🐛 Bug Report

When I open flipper these two process causes big CPU usage and fan noises. this is what I get in the console app, there are many of this error:

Failed to bootstrap path: path = /Applications/Xcode.app/Contents/SharedFrameworks/DVTInstrumentsFoundation.framework/Resources/DTServiceHub, error = 2: No such file or directory

I went to that directory and DTServiceHub was there.

I had similar issue with instruments process months ago and opened an issue here but can't find it right now.

related issue: #1992

To Reproduce

Just open the flipper app

Environment

OSX: 10.15.7
Flipper: 0.83.0

Please make this high priority because it's very annoying

@mweststrate
Copy link
Contributor

mweststrate commented Apr 5, 2021 via email

@arnnis
Copy link
Author

arnnis commented Apr 5, 2021

XCode version: 12.3

@mweststrate
Copy link
Contributor

mweststrate commented Apr 6, 2021

To be fair I'm not sure what to do with this report, as it seems to do with your specific installation. Did you try another machine / reinstalling XCode to see if the problems persist? We do use instruments indeed, but I can't really reproduce your symptoms (XCode 12.4, same OS). Note that you can disable iOS support in settings. It might be interesting to check if disabling physical iOS device support makes a difference. As said diagnosticd is not a something we use / spawn. Maybe your installation is interfering with something else. Are you using a special virus scanner, atypical disk setup, or running an old version of idb?

@arnnis
Copy link
Author

arnnis commented Apr 6, 2021

The issue was from my idb installation. I'm not getting the diagnosticd process now.

Flipper GPU helper is using so much cpu on idle too. There are some warning in the Electon console about my adb installation. Will check if those will fix the issue.

@arnnis arnnis closed this as completed Apr 6, 2021
@mweststrate
Copy link
Contributor

Might be related to #2173

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants