-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Browser hangs every few minutes, Brave Sync process consuming 100% CPU #6098
Comments
Well.. I am also affected by this issue. The browser freezes from time to time for a few seconds (from 5 to even 20). This happened since the penultimate update from the beta channel. The latest one does not fix the problem. The issue persists even the total, clean (removed configs, profiles etc.) installation and also an fully clean installation on a new installed system. But.. If I downgrade Brave to v0.70.97 or v0.70.96 all works fine and no freezing occurs. Edit: The one difference from the issue mentioned above is that the my synchro is turned off. I don't use synchronisation feature at all. Edit2: System: EndeavourOS (fully up to date) Arch-based distro. |
I've been experiencing this too. I'm on Ubuntu 18.04. Started happening a couple of updates ago. |
I am experiencing something very similar. But I think it is one of the It happens often and for some seconds, but until now I can't figure out the trigger conditions (which is mainly entering the brave window, but sometime it freezes when not beeing in brave). Sound is fine and running while a freeze occurs. |
Yes.. Even simple switching the opened tabs in browser can trigger this issue. Especially on pages like Facebook, MeWe, or where are for example build in java/js pics galeries (something where is horizontal iframe based scrolling). |
I use Brave release on Ubuntu 19.04, and this problem occurred since 0.68.138. @wildcard-f8 you can try |
thanks
…On Thu, 26 Sep 2019 at 9:21 AM Cheng-Wei Chien ***@***.***> wrote:
I use Brave release on Ubuntu 19.04, and this problem occurred since
0.68.138.
(the latest 0.68.141 still has this problem)
I downgraded to 0.68.132 and everything is fine.
@wildcard-f8 <https://github.com/wildcard-f8> you can try sudo apt-get
install brave-browser=0.68.132 then sudo apt-mark hold brave-browser to
prevent it from upgrading.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6098?email_source=notifications&email_token=AMLELDSKSXCUDXV2RWNU6ELQLQFAVA5CNFSM4IYTT5TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7T5QEQ#issuecomment-535287826>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMLELDSXWW666AFURI26ZULQLQFAVANCNFSM4IYTT5TA>
.
|
Update: |
This is also experienced on Mac, with the newest release. |
I updated my Brave to the latest 0.70.104-1 version from AUR (0.70.104 Chromium: 77.0.3865.90 x64) and the issue is still there no matter if the sync is on or off. |
Same here, Brave 0.71.84 Chromium: 77.0.3865.90, Arch Linux |
Another browser update 0.70.113-1 (0.70.113 Chromium: 77.0.3865.90) and nothing changed. Issue is there. And looks like that it has something to do with the Nvidia drivers (nvidia-dkms package). |
That makes sense. I am experiencing that problem too. At a first moment I suspected about the sync feature because it is failing to work with bookmarks removal (it is always putting back what I delete in local browser), but after reading this thread I'm thinking the problem could involve GPU, because my PC at work has a Nvidia card and the process freezing time is much worse than at home, where I have a PC with a Radeon RX 580 (and different components, notably a faster processor). The Brave mobile app also crashes randomly and that leads me to suspect again about syncing problems, so I'm still in doubt about what could be the cause. Both PCs have Brave version 0.69.135 Chromium: 77.0.3865.120 x64 Work Videocard Home Videocard |
Sounds plausible. I'm also running it on an Nvidia card with the latest drivers (GeForce RTX 2060). |
Well.. seems so.. I am using Prime under my Arch and if I switch to intel gpu then is allright. No browser issues, hangs, overheatings etc. But.. if the Nvidia gpu is on, then this whole "circus" begins and even simple browsing on some fb page can boil my knees very fast. Besides.. the jumbo-jet-engine-like noise from the laptop both coolers is also not a most pleasant ;) |
@Martina-Neumayer I don't see an issue with Nvidia legacy drivers on Ubuntu. Are you using the non-free drivers from Nvidia? |
I don't use Ubuntu so there are no free drivers here. My system is Arch based EndeavourOS and it uses normal drivers from the standard Arch "extra" repository. To be exact it is a nvidia-dkms 435.21-11 package now. The mentioned prime is arch-prime-git 0.9.4.r1.g2396832-1 from AUR. |
Using Ubuntu 16. |
I think we have several different issues that need to be split up:
Does that look correct to everyone? 2 and 4 seem like they are connected, but I think we should file separately and merge if we decide it's the same issue. My guess is that sync is going through some kind of polling loop because sync isn't actually enabled which may also result in the high network bandwidth. Just disabling the extension when sync is enabled may fix all 4, but we should make sure there isn't also an issue when sync is enabled. |
@bridiver in my case all are correct, though in the case of 3) it's not that it's using a lot of bandwidth but that it is constantly using bandwidth (~50 KB/s here) while it shouldn't be doing anything. I would add that there is also a "Brave" task that is high CPU, separate from the "Extension: Brave Sync" task which also is high CPU. |
For me also does not work. |
I have a similar issue described in my bugreport #6905 Leaving the sync chain and restarting my browser appears to have fixed the freezing issue for me. Can you guys try to reproduce if it also fixes your issue? |
I also have this issue where Brave freezes periodically. I'm 100% sure that it's an issue with sync (I have thousands of bookmarks) since every time I leave the sync chain on a system, the problem goes away completely. When I join the sync chain again, the problem reappears. On all systems. I've confirmed this sync related problem in Brave on all these systems:
I also have the problem on my Android phone but in another way it seems: Brave freezes every time i add a new bookmark if sync is enabled. To sum up: 100% sync related for me. |
I hope this can help with the debugging. |
@msundin @Hispeeday did you try creating a new sync chain instead of joining existing one? |
@darkdh And how would we do that? I press "Create new sync chain" and it wants to to enter 24 words on another computer. I dont see a way to start a new chain standalone. |
@Nuc1eoN all devices leave the current sync chain and you choose one device to create sync chain and others join it. |
@darkdh This issue has been present since I first created a new sync chain a few months ago. So yes, I started with a fresh sync chain and the problem immediately appeared and has been there since then. |
Issue stil remains, even if the sync is not used at all. Browser: v 1.5.96 Chromium: 80.0.3987.116 (Official Build) unknown (64-bit) |
We've updated Brave to 1.7.92 today. When you get a chance can you update to this latest version via brave://settings/help and see if you're still encountering this issue. |
I tried three test cases:
When you exit the "add to sync chain" dialog and reload the brave://sync page, you are suddenly shown as added to the sync chain you choose. BUT: The sync never manages to reintegrate the local bookmarks into the sync chain bookmarks, or vice versa.
|
Sometimes it took a long time for my sync chain to fully sync. But finally it always did. I think the user should have a progress bar, that indicates the progress/status somehow. |
Same here... Arch Linux |
@Naheel-Azawy can't find the comment but @bsclifton probably has some brave launch parameters for you to test. |
dogpiling. still happens frequently arch linux |
I have the same problem as well, on macOS. Brave freezes and I have to force quit. |
Updated yesterday my Brave from the 1.10.85-1 to 1.11.61 version and this was a big mistake. |
@Martina-Neumayer thanks for letting us know - I'm curious if you're able to try 1.11.61 again and this time open the Task Manager when CPU hogging happens. It's in the hamburger menu (three lines in the top right) under When open, it'll look something like this- you can sort by CPU usage |
@bsclifton The problem is that when this issue occurs, the entire laptop freezes in a matter of few seconds. And all I can do is to press and hold the power button to turn it off. There is not enough time between the problem occurring and the system/machine freezing. BTW.. Seems that another old problem is back again in the v.1.11 release. Update: |
Closing issue as we'll be having Sync v2 in 1.12 and it doesn't make sense to fix v1. At this time, the recommendation would be to turn off Sync v1 via brave://flags/#brave-sync For folks experiencing high CPU not related to sync, let's open a new issue with more details 😄 The task manager bit above is super important for diagnosing what is causing CPU usage. Other issues (DPI / UI scaling) should have their own issues with information as that is a different problem |
Description
Every 4-5 minutes the browser goes completely unresponsive for ~20 seconds. Having the Task Manager open when it happens reveals that the Brave Sync extension is using 100% CPU during this time. Brave Sync memory footprint also gets rather large (>300MB) and seemingly grows indefinitely over long periods of time. Brave Sync is constantly consuming network bandwidth upwards of 200KB/s.
What makes this particularly odd is that I'm not even in a sync chain. There's no reason why Brave Sync should be doing much of anything at all.
Steps to Reproduce
Actual result:
Brave goes unresponsive and consumes all available CPU cycles for 10-20 seconds.
Expected result:
Browser remains responsive and usable.
Reproduces how often:
On my system, this reproduces itself like clockwork every few minutes. I couldn't find any issues describing quite the same problem, so I suspect this one is going to be hard to reproduce elsewhere. Interestingly, my other computer is on a sync chain and doesn't suffer from these hangs.
Brave version (brave://version info)
Brave | 0.71.75 Chromium: 77.0.3865.75 (Official Build) dev (64-bit)
Revision | 201e747d032611c5f2785cae06e894cf85be7f8a-refs/branch-heads/3865@{#776}
OS | Windows 10 OS Version 1809 (Build 17763.737)
Version/Channel Information:
I'm a bit strapped for time right now and can't run a proper test on other channels. Will update tomorrow if I get a chance.
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: