1

I'm having this problem where Safari tabs that I've closed are still running in the background. Sometimes these tabs go "out of control" and chew up all the CPU and memory (GB of swap) to the point where my M1 MacBook Air grinds to a halt and the mouse pointer starts stuttering. The only way to fix it is to quit Safari. I can easily do this by clicking on the Dock and Command-Q... the GUI may take a minute or two to catch up, but once Safari quits, everything returns back to normal - a nice speedy M1 with not much software loaded.

I can't figure out why this is happening. I run a clean system, no sketchy software. Only 2 browser extensions, Duck Duck Go and Vinegar. (Inactivating the extensions does not fix the issue.) Just a few things from the App Store and legit pro audio/DJ software. The only thing I can think of is maybe a Safari Technology Preview version screwed something up, but I have wiped all those files off my system.

Anyone have any ideas?

Here are some screenshots... please note the tabs/URLs shown are from tabs and windows closed long ago! You'll see Safari has no open windows.

MEM

enter image description here

11
  • Yes - I have an idea: Install Firefox
    – Seamus
    Jan 6 at 0:48
  • Do you ever restart macOS and/or close & restart Safari? If you close and restart Safari, to the closed tabs reappear?
    – IconDaemon
    Jan 6 at 1:44
  • I don't restart macOS unless I have to or something really funky happens. When I close and restart Safari, the closed tabs do not re-appear. (I don't have that setting enabled - when Safari starts it is a new window.)
    – kokernutz
    Jan 6 at 2:39
  • 1
    @Seamus it would be awesome if you could expand that into an answer. Explain if you use it exclusively or somehow split the load between safari and Firefox. Not everyone wants two browser, but experience here might make a useful answer.
    – bmike
    Jan 6 at 2:47
  • @bmike: I doubt that my reasons would be of much interest to anyone else. I adopted Firefox some time ago, I've grown to like it and to trust it to a limited degree :) and I can use it on Linux. I can not say that for Safari. That's about all there is to it
    – Seamus
    Jan 6 at 4:19

1 Answer 1

1

In my case, I kept seeing the 'spinning mouse/waiting' wheel behavior on my system. As it turns out, there were several processes running in the background too (after inspection of Activity Monitor), namely from 'web resources' and various URLs which ate up around 3-5% in CPU resources each. Yes, each!

The only thing I expected to see here that took up that much memory were actively running programs like Activity Monitor itself, Excel, Safari, etc. So, putting on my thinking cap I thought that maybe it could be these were still being detected by the system somehow even after Safari had been exited.

The resource hogs were due to various bookmarks on Safari (i.e. YouTube -- for which I linked to a half-dozen or so content creators) that were being a bottleneck to the overall system performance. Having since removed those bookmarks, the system is now running without a hitch. I was even surprised that was the root cause (as I have never seen bookmarks to be problematic), but it worked and this system woe is behind me, thankfully.

Note: As of this post, I haven't been able to repro it on-the-spot and I suspect it takes days or weeks on end that the system gets clogged up.

1
  • That sounds like the symptoms I am having, but I don't really keep a lot of bookmarks - maybe a few dozen. But even then it is only to the root URL. I'll dig a little deeper on this.
    – kokernutz
    Jan 9 at 19:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .