HelloZeroNet / HelloZeroNet/ZeroNet

ZeroNet\core\tools\tor\tor.exe is using 20% of the CPU

Open
#1,471 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

### Step 1: Please describe your environment

* ZeroNet version: 0.6.2 rev3502
* Operating system: W10
* Web browser: FF beta
* Tor status: available
* Opened port: no
* Special configuration: --multiuser_local

### Step 2: Describe the problem:

Hello, it is not rare when i see the ZeroNet\core\tools\tor\tor.exe is using roughly 20% (it is sustaned usage for like 15 minutes i am watching the process) of the CPU in Task manager and System Explorer.

Connections (195, total made: 23784)

The normal Tor.exe process probably launched by Tor browser that i am also running is not using any CPU.

Computer is recovered from sleep mode, if it can play any role.

Similar amount of CPU (20%) is using Firefox and sometimes also qBittorrent. It is strange that just Tor would need that much. I seen connections of the process in /stats page and in System Explorer and it is not large amount. I am not browsing ZeroNet atm, i have 250 sites, maybe more in the list. ~126 connected on newsfeed.

After trying to restart the tor.exe it not started so i clicked to update Zeronet and after start the tor.exe is using like 5% of the CPU which is OK.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the sustained CPU usage from ZeroNet\core\tools\tor\tor.exe on Windows 10, including after the computer resumes from sleep, and inspect the connections shown on the /stats page. Compare the process before and after restarting or updating ZeroNet; done means identifying and resolving the condition that causes the prolonged CPU usage.

Written by the indexing model from the issue text.

Assessment

Domain
networking, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.