Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tribler continuously using ~50% CPU usage in GUI test mode #6375

Closed
devos50 opened this issue Sep 28, 2021 · 2 comments
Closed

Tribler continuously using ~50% CPU usage in GUI test mode #6375

devos50 opened this issue Sep 28, 2021 · 2 comments

Comments

@devos50
Copy link
Contributor

devos50 commented Sep 28, 2021

I noticed on my Mac that the Tribler process continuously uses around 50% CPU usage when running idle. I suspect that the CPU usage originates from the core process as the 'main' process uses only 1% CPU usage.

Schermafbeelding 2021-09-28 om 09 14 12

@drew2a
Copy link
Contributor

drew2a commented Sep 28, 2021

Just for information, the list of components for normal mode and for GUI test mode:

def components_gen(config: TriblerConfig):
"""This function defines components that will be used in Tibler
"""
yield ReporterComponent()
if config.api.http_enabled or config.api.https_enabled:
yield RESTComponent()
if config.chant.enabled or config.torrent_checking.enabled:
yield MetadataStoreComponent()
if config.ipv8.enabled:
yield Ipv8Component()
yield MasterKeyComponent()
if config.libtorrent.enabled:
yield SocksServersComponent()
if config.libtorrent.enabled:
yield LibtorrentComponent()
if config.ipv8.enabled and config.chant.enabled:
yield GigaChannelComponent()
if config.ipv8.enabled:
yield BandwidthAccountingComponent()
if config.resource_monitor.enabled:
yield ResourceMonitorComponent()
# The components below are skipped if config.gui_test_mode == True
if config.gui_test_mode:
return
if config.torrent_checking.enabled:
yield TorrentCheckerComponent()
if config.ipv8.enabled and config.popularity_community.enabled:
yield PopularityComponent()
if config.upgrader_enabled:
yield UpgradeComponent()
if config.ipv8.enabled and config.tunnel_community.enabled:
yield TunnelsComponent()
if config.ipv8.enabled:
yield PayoutComponent()
if config.watch_folder.enabled:
yield WatchFolderComponent()
if config.general.version_checker_enabled:
yield VersionCheckComponent()
if config.chant.enabled and config.chant.manager_enabled and config.libtorrent.enabled:
yield GigachannelManagerComponent()

@ichorid ichorid self-assigned this Sep 28, 2021
@xoriole xoriole modified the milestones: 7.11.0 October, Backlog Oct 20, 2021
@ichorid ichorid removed their assignment Feb 17, 2023
@qstokkink
Copy link
Contributor

Tribler now has a web-based front end and this issue is no longer relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants