You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Brave browser crashes MacBook Air, other browsers come close

I had been using Brave for the past year, never had any problems. Great browser.


All of the sudden, just last week, my CPU would start humming really loudly, then after a while my computer would just freeze and I'd have to do a manual restart. This almost never happens.


I thought it was from having too many tabs/apps open at once, but then it started happening with just one or two browser tabs open and no other apps running. It kept happening over and over.


The only extensions I use on Brave or any browser are Ublock Origin, Blur password manager, and Grammarly. I'm on MacOS catalina 10.15.6.


I switched to Firefox ever since this began happening, and at least it doesn't crash my computer. But the problem is still not fully fixed because most of the time when I start doing anything, the CPU goes crazy and gets loud and heats up. This didn't happen before. I have to close as much as possible and look at Activity Monitor or I'm afraid things will crash again.


The two things that appear to sometimes take up to 100% of CPU power are "RTprotection daemon" and "window server." I know the RT protection daemon is related to anti-virus software (I have Malwarebytes and Clam XAV), but what is window server?


I used to have no problem working with multiple browser windows open, each with a bunch of tabs, multiple Word and Excel docs open, and Slack and my email. Now the CPU freaks out like it's going to explode almost for no reason most of the time. The back of my laptop gets so hot you can't touch it for more than a second.


The main questions I have are:


  1. why does Brave crash my computer now?
  2. why is my CPU power all the sudden being overrun by these two processes (RT protection daemon & window server), when nothing else has changed?
  3. what is Window Server?


Thanks


MacBook Air 13″, macOS 10.15

Posted on Sep 4, 2020 11:26 AM

Reply
12 replies

Sep 6, 2020 6:24 PM in response to HWTech


Hello and thanks for the replies.


I uninstalled Clam XAV and got rid of MalwareBytes' real time protection. That seems to have helped somewhat, but it appears that the real problem is a different, unidentified runaway process.


HWTech wrote:

Run EtreCheck and post the report here using the "Additional Text" icon which looks like a piece of paper.



I ran EtreCheck, and here's some of what I found. The app could only identify the process as "other." Could this be some kind of malware, e.g. crypto mining malware? I'd bet that's not really a thing on Macs since there's not a desirable level of CPU/GPU power, but when this thing happens my laptop gets as hot and loud as a piece of crypto mining hardware.


Ironically, running EtreCheck began to make the CPU hum and heat up, although nothing crashed, it wasn't too intense, and went right back to normal afterward. Here's the relevant parts of the report as additional text.


It said something took up 177% of CPU power. How is that even possible?






Sep 7, 2020 10:34 PM in response to steve626

steve626 wrote:

Did you give Etrecheck full disk access? It does not look like a complete report was posted.

You have multiple VPN programs loaded.

Also, CLAMAV is still apparently present on the computer.

Can you look at Activity Monitor and see what that other process is?


It shouldn't need full disk access for this. I only posted the relevant part of the report. If this doesn't get to the root of the problem then I'll go that route.


There may be remnants of multiple VPN clients left on my hard disk, but only one running at this time. Likewise, Clam XAV has been deleted and is not running. What's the best way to get rid of these kind of leftover files? The apps have already been uninstalled and there's no related file folder I can find easily.


Most importantly, the answer is no, I cannot see this "other process" taking up as much as 177% of CPU power. Activity Monitor only shows:


  • Window Server,
  • Firefox and FirefoxCP Web Content (or Chrome and Chrome helper when using Brave),
  • kernel_task, and
  • the Activity Monitor app itself


as using double-digit portions of CPU power. Everything else is minuscule.


I haven't used my Mac as intensely as usual over the last few days, will report back after another day or two to see if the problem has been resolved, although I don't suspect everything has been discovered.


On another unrelated note, it appears that my iCloud drive is forever uploading, some documents I typically save there are in a state of perpetual upload. This might not have anything to do with anything, but like with the random file remnants, would be nice to remedy while I'm at it. Thanks.


Sep 11, 2020 9:45 AM in response to Aphelios1

I have never installed those programs so can't provide specific guidance on removing all their remnants. However utilities like Find Any File can be used to fully search all folders on your Mac (including hidden and protected ones that Spotlight does not search) to find files associated with these programs.


You chose to selectively post only portions of the Etrecheck results, and Etrecheck wasn't given full access, so there's much more information but people like me cannot see it. It makes it hard to remotely figure out what is going on. We have no other information about your system to go on. Just partial information.


There are some simple things that are easy to try which may provide a clue:


  • Quit Firefox. See if things improve. You probably have multiple tabs or windows open, one of them may be trying to do things, some sites play videos and whatnot in the background, and Firefox can use lots of resources.
  • You can also quit all browsers and see if the machine quiets down. Then restore them one at a time to see which has the worst impact.
  • Are you running one or more virtual machines or operating systems? I would shut those all down to see if it helps.
  • You also have dropbox and iCloud drive activity, I would shut those down as well, to see if the "busy - ness" reduces some. Not sure if you can actually shut off iCloud activity as some of your files may be stored there, so take care with that suggestion. But it should not be updating continuously. What do you have going on in iCloud, do you have large photo libraries in iCloud, or something else like that, that might be trying to update?
  • If you restart your computer and then activate no programs, is the computer immediately busy and slow? If it is, then it would be time to inspect your startup items or anything else that runs in the background. Which is why the full Etrecheck report is needed.
  • Boot in safe mode. Is the computer "busy" then also? That could point towards a hardware issue, as someone else suggested. A hardware problem could also cause a computer that used to be fine to start running hot, etc.
  • Can't tell how old your computer is, but if it's more than 5-6 years old, suspect a possible disk issue or other hardware issue. You could try a utility like DriveDX that will evaluate your SSD. If it's failing, lots of your symptoms would make sense.
  • The computer getting very hot is something that needs to be addressed. That's not normal, and those thermal extremes will greatly accelerate wear and tear on the electronics inside (thermal cycles are often what cause computer hardware to wear out).
  • Another experiment to try is to restart and log into a vanilla other user account that has nothing installed or active. That could tell you if the issues are user-specific, or if they are system-wide.

Sep 4, 2020 12:11 PM in response to Aphelios1

Both Brave and Firefox work well on all my Macs. No "anti-virus" junk has ever been inflicted upon them though, so try removing whatever you're using. You don't need them. Try removing your browser extensions too.


WindowServer is the process that draws everything on your Mac's screen. As such it is not very useful toward identifying a runaway process.


The back of my laptop gets so hot you can't touch it for more than a second.


That's not good. No Mac should ever get that hot. You probably ought to have it evaluated by Apple for a possibly hazardous fault.

Sep 5, 2020 12:40 PM in response to Aphelios1

Aphelios1 wrote:

(I have Malwarebytes and Clam XAV)

You should never install two anti-virus products as they tend to interfere with one another. You really don't need any anti-virus software on a Mac. They usually cause more problems than they solve plus they impact system performance.

I used to have no problem working with multiple browser windows open, each with a bunch of tabs, multiple Word and Excel docs open, and Slack and my email. Now the CPU freaks out like it's going to explode almost for no reason most of the time. The back of my laptop gets so hot you can't touch it for more than a second.

Run EtreCheck and post the report here using the "Additional Text" icon which looks like a piece of paper.


Sep 5, 2020 3:15 PM in response to Aphelios1

Aphelios1 wrote:

The two things that appear to sometimes take up to 100% of CPU power are "RTprotection daemon" and "window server." I know the RT protection daemon is related to anti-virus software (I have Malwarebytes and Clam XAV), but what is window server?

RT protection daemon is part of Malwarebytes. First thing to try is to turn off Malwarebytes' real-time protection option in its settings. This feature has been known to sometimes take up large amounts of cpu resources for certain users. See if the issue goes away. Next, as others have suggested, uninstall the other anti-virus protection you have installed. See if the issue goes away. And if the issue persists, completely uninstall Malwarebytes to see if that helps. I'm suggesting you do one thing at a time here to try to isolate the cause.

Sep 12, 2020 12:29 PM in response to steve626

Update –


The iCloud activity seems to have stopped, not sure why but it's okay now. Dropbox shouldn't be an issue as I don't use it that much. 99% of everything I keep in those cloud storage platforms is Word and PDF documents, some with images.


I'm not comfortable giving EtreCheck full disk access, and I'm definitely not posting all that information here on a public forum. I've decided that I'm going to have to call Apple support and spend whatever time necessary getting to the bottom of things.


Things seem to have gotten better since eliminating Clam and stopping Malware Bytes RT protection, but there's still some phantom runaway process that comes and goes out of nowhere.


Part of what has made this so difficult is that there's no rhyme or reason to the whole thing. I'll be working for an hour or two with a bunch of browser activity, emails, Google cloud things, Slack, Word/Excel, etc., and everything runs fine. The mac is cool and mostly silent like it should be. But then, all of the sudden and for no apparent reason, the thing goes into hyper-drive mode, even though nothing has changed. Sometimes I stop everything and stare at activity monitor for a minute, and things will slow down, but then I'm not doing anything so what's the point. What also doesn't make sense is that sometimes even with 91% idle CPU according to activity monitor, hyper-drive mode still happens for no reason.


At this moment, everything is fine and Activity Monitor says 75% - 85% of CPU is idle. I have Word, Excel, Firefox, and Activity Monitor open and the Mac is silent, although it does still feel a little warmer than it should, so the temperature problem might be an additional thing by itself, only made worse by this hyper-drive phantom process.


Anyway, thanks for your suggestions all, but at this point I only have a few things left to try and like I said, I'll be calling Apple support to make sure it gets fixed even if I think I've fixed it myself.


Thanks for letting me know about EtreCheck and DriveDX, I wasn't aware of apps like those.


Sep 12, 2020 1:57 PM in response to Aphelios1

Aphelios1 wrote:

I'm not comfortable giving EtreCheck full disk access, and I'm definitely not posting all that information here on a public forum. I've decided that I'm going to have to call Apple support and spend whatever time necessary getting to the bottom of things.

That is your choice, but EtreCheck sanitizes the personal information. You can easily revoke "Full Disk Access" after running EtreCheck. Good luck with Apple as they will most likely have you restore from a backup or worst case perform a clean install of macOS and manually migrate your data while manually reinstalling & configuring all your third party apps. You may need to do this anyway depending how much time you want to spend troubleshooting the issue.

Things seem to have gotten better since eliminating Clam and stopping Malware Bytes RT protection, but there's still some phantom runaway process that comes and goes out of nowhere.

Part of what has made this so difficult is that there's no rhyme or reason to the whole thing. I'll be working for an hour or two with a bunch of browser activity, emails, Google cloud things, Slack, Word/Excel, etc., and everything runs fine. The mac is cool and mostly silent like it should be. But then, all of the sudden and for no apparent reason, the thing goes into hyper-drive mode, even though nothing has changed. Sometimes I stop everything and stare at activity monitor for a minute, and things will slow down, but then I'm not doing anything so what's the point. What also doesn't make sense is that sometimes even with 91% idle CPU according to activity monitor, hyper-drive mode still happens for no reason.

At this moment, everything is fine and Activity Monitor says 75% - 85% of CPU is idle. I have Word, Excel, Firefox, and Activity Monitor open and the Mac is silent, although it does still feel a little warmer than it should, so the temperature problem might be an additional thing by itself, only made worse by this hyper-drive phantom process.

I've been battling some of our organization's Macs which have been having extremely intermittent system freezes and performance issues. These issues are extremely difficult to troubleshoot since the macOS system logs unfortunately are basically worthless these days for troubleshooting purposes. It took me two weeks of testing a clean install of macOS before I could reproduce the failure to confirm the Logic Board is most likely defective.


Make sure to run Disk Utility First Aid on the drive. Even if First Aid shows everything as "Ok" click on the "Details" to see if there are any unfixed errors. If there are any unfixed errors, then you will need to backup or clone the drive followed by erasing the whole physical drive before restoring from the backup or clone. I suggest running First Aid on the Container (you may need to click on "View" within Disk Utility and selecting "Show All Devices" for the Container to appear).


Good luck in your efforts.

Sep 15, 2020 5:27 PM in response to HWTech

HWTech wrote:


. Good luck with Apple as they will most likely have you restore from a backup or worst case perform a clean install of macOS and manually migrate your data while manually reinstalling & configuring all your third party apps. You may need to do this anyway depending how much time you want to spend troubleshooting the issue.

Yeah, I'm beginning to think that might be necessary anyway, as things seem to not be getting better even though they are getting better.


What I mean is that the issue I'm calling "hyper-drive mode" hasn't occurred in close to a week, except once during a Google Hangouts call, which does take a lot of CPU power and bandwidth. And even then, it slowed down right after i closed the call. The laptop always seems to be running warmer than what is normal, and this doesn't seem to change regardless of anything else.


I have noticed that there seems to be a lot of CPU activity upon start-up, but the only thing out of the ordinary that runs on startup is Spotify. But I went into System Preferences > Users & Groups > Login Items, and Spotify isn't there. How can this be? The only two things that appear in my user for login items are Dropbox and "MacUpdate Desktop," which was hidden. There's a little yellow triangle next to this item, but I can't get more information.


The reason I'm posting again is additional issues have come up, even though the main thing that got me here in the first place has improved noticeably (except for the heat issue, which is still a problem, but no longer am I concerned that my Mac might disintegrate into a pile of lava and melt through my desk).


Now, for some reason (and this may have been happening for some time but I didn't notice), when my battery reaches 27%, the computer dies as if the battery was at 4%. I never get the notification that it needs to be plugged in, no warning at all, just a blank screen out of nowhere.


And what's weirder than anything else is this – upon booting up from this random premature battery burn out, the computer thinks the date is December 31st, 2019. ***??


I only know this because web pages won't accept traffic from a device with the wrong date, so they reject my connection attempt. And THEN, when I go to fix the date, before I can touch anything the computer just fixes itself, as if it anticipated that move but couldn't do something until I opened Time & Date Preferences. Has anyone ever heard of this before?


I'm starting to think this really could be hardware related, and that a clean install of Mac OS might be the only option, or at least the best option considering it would probably be more efficient than trying all of these one-off troubleshooting things.


My MacBook Air is just under 3 years old. My previous Mac lasted almost 6 years before I started having any kind of trouble, and it was a much more gradual kind of degrading general performance, not this sudden shock of random craziness.

Edit: Forgot to mention that I ran Disk Utility, checked "more details," and everything appears to be fine. there. I haven't tried booting in safe mode or anything of that nature because things generally only go wrong after I've been working for at least an hour or two, and I'm not going to sit there in a new user acct or safe mode with nothing running for an hour plus.

Sep 15, 2020 10:16 PM in response to Aphelios1

Aphelios1 wrote:

Now, for some reason (and this may have been happening for some time but I didn't notice), when my battery reaches 27%, the computer dies as if the battery was at 4%. I never get the notification that it needs to be plugged in, no warning at all, just a blank screen out of nowhere.

Usually that indicates a battery failure. What is the condition of the battery? If it is "Service Recommended" or "Service Battery", then it means an internal fault has been found with the battery. If the battery condition is "Normal", then run the Apple Diagnostics again to see if the battery still passes.


And what's weirder than anything else is this – upon booting up from this random premature battery burn out, the computer thinks the date is December 31st, 2019. ***??

When a Mac loses all power the Date & Time will reset to some default value.


I only know this because web pages won't accept traffic from a device with the wrong date, so they reject my connection attempt. And THEN, when I go to fix the date, before I can touch anything the computer just fixes itself, as if it anticipated that move but couldn't do something until I opened Time & Date Preferences. Has anyone ever heard of this before?

Usually when the date & time are way out of sync macOS won't auto-correct it using a network time server or it takes macOS a lot longer to correct the time. It seems the act of entering the System Preferences will sometimes trigger the update, but many times I have to toggle the setting on & off.


I'm starting to think this really could be hardware related, and that a clean install of Mac OS might be the only option, or at least the best option considering it would probably be more efficient than trying all of these one-off troubleshooting things.

If you have a spare external drive you can try installing macOS to the external drive and booting the laptop to see how it performs. While it may run a bit slower you may gain valuable information without having to resort to all the work involved with a clean install and later restore from backup. If a clean install on an external drive works, then it either indicates a software issue or an issue with the internal drive.

Brave browser crashes MacBook Air, other browsers come close

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.