-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
High CPU load in whonix-ws-14 AppVM & DispVM - related to notifications? #4969
Comments
I can confirm this issue, except:
Tor Browser is unusable until the process returns to low CPU usage (takes 30secs to 1 minute). No such problems opening regular Firefox in Debian 9 DVM, or opening Whonix 14 DVM with e.g. Konsole |
Confirming random high load occasionally in WhonixVM's firefox.real right after starting the browser and without even interacting with it. |
From https://www.whonix.org/wiki/Tor_Browser#Tor_Browser_Functionality_on_Different_Platforms
|
In other words, could you please compare TBB in a Qubes Debian VM with TBB in a Whonix 14 VM?
|
I have the same problem with whonix-ws-15: Once I notice the high load it doesn't stop if I simply close all tabs (except a blank). Repeatability is eluding me atm. I do have Apparmor enabled, and wonder if that's a factor. |
Same here, anon-whonix (whonix-ws-15), after some time torbrowser starts to eat CPU. Closing tabs does not help. Then I tried to pause VM, and upon Unpause all Vm windows disappeared (torbrowser, terminal) and VM became unreachable. Only shutdown helped. |
It happens every time I use it, after 10-20-30-60 minutes, url does not matter - once it happened on qubes documentation website. |
This appears to be related to the The problem seems to be caused by the interaction between
Incidentally, after @adrelanos, confirming that this does not happen with the Tor Browser Bundle on Debian 10 based VM. This is to be expected if this is indeed the problem with |
Confirmed. Happens with Non-Qubes-Whonix-only. Still not "really" a Whonix issue. Also not "really" an sdwdate issue. I suspect it is this:
It still needs to be reproduced without mentioning Whonix / sdwdate as a general bug and then reported against Tor Project trac component Tor Browser. Help welcome. |
It sounds like this should not be in qubes-issues, then. Closing as "not our bug." If you believe this is a mistake, please leave a comment, and we'll be happy to take another look. Thank you. |
If you're still affected and reading here... Good news, see:
Credits: Thanks to @ak88 for analysis and workaround documentation. Will be working toward a better solution. Updates will be posted here: |
remove /lib/systemd/system/onion-grater.service.d/30_whonix_cpfpy.conf fixes https://forums.whonix.org/t/bug-restart-of-sdwdate-in-whonix-gateway-causes-100-cpu-use-of-tor-browser-in-whonix-workstation/9541/15 fixes QubesOS/qubes-issues#4969
Qubes OS version
R4.0 and up
Affected component(s) or functionality
whonix-ws-14-dvm based AppVMs, DispVMs: Tor Browser, Tor connection notification widget
Brief summary
Tor Browser (process: firefox.real) is causing constant excessive CPU load (>150%), even if there's no web content displayed (empty page) in these two use cases:
To Reproduce
Steps to reproduce the behavior:
use case 1:
use case 2:
Expected behavior
No hang processes in AppVM or DispVM
Actual behavior
Constant CPU usage >150% in the respective AppVM or DispVM. Requesting new identity in TB doesn't solve the issue, only closing Tor Browser and reopening again seem to help.
You can still browse despite the high CPU usage, however system is very slow and CPU fans constantly operate at high speed.
Screenshots
N/A
Additional context
This might be connected to sys-whonix notification scripts, or the way sys-whonix checks if connection to Tor is verified. In use case 1, browsing is already working before the notification is being shown, there could be few seconds - max 10-15s - delay for the notification to appear. After the initial notification ("Connected to Tor") no further notifications appear, but use case2 still exist.
Might be also worth checking if there could be any security implications (anonymity) for having that hang "Firefox.real" process, before the connection to tor is presumably verified
Solutions you've tried
Workaround: close and re-open Tor Browser - not too convenient in DispVM
Relevant documentation you've consulted
N/A
Related, non-duplicate issues
Could be related to "Launching Tor Browser in anon-whonix AppVM results in torbrowser script bug #4311"
The text was updated successfully, but these errors were encountered: