Continued corespotlightd process CPU overload issues

I am wondering if anyone has discovered any new ideas for stopping the corespotlightd process from hogging the CPU. According to Activity Monitor, the corespotlightd process often occupies more than 100% of the CPU load, sometimes spiking as high as 400% on my M2 Ultra Mac Studio. This problem has become so severe that it often pinwheels under normally non-intensive tasks. It can cause the video to flicker on my Studio Display. In one case it caused my Mac to kernel panic (crash).


I encountered this bug only after installing Sequoia 15.2, but having researched this issue extensively, I find that Mac users have identified it since at least macOS Ventura. So here are some solutions we don't need to hear again:


Reindexing Spotlight by adding and removing volumes in Spotlight Privacy. This provides relief only temporarily. Within hours the process is again grinding the Mac to a halt.


Killing the corespotlightd in Activity Monitor. Again, this is at best only a temporary solution as the process will reinstate itself.


A "clean" install of macOS. First of all, no such process really exists. The OS recovery process simply reinstalls a new copy of the System files. Nobody reports this as a fix. An internal drive wipe and reformat, and restore from Time Machine is also unlikely to help, as it simply returns your Mac to its previous state. If the corespotlightd problem results from a corrupted file, the problem will likely simply be recreated in your reinstall. "Nuke and pave" might solve the problem if it caused by a format or directory issue on your startup volume. This does not seem to be the case, but if anyone has permanently cured the problem by this method, please report it.


What we do need to hear is from anyone who has spent time with Apple Support on this issue and been provided with solutions that actually work, or has new ideas about what causes it. Feels like we're on our own here, since Apple seems to be stumped.



Posted on Dec 19, 2024 11:21 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 8, 2025 2:10 AM

Hi everyone. I also encountered this issue that corespotlightd was slugging down my M1 MBP 16GB (2021) so immensely that my system had a freeze for around 5-8 seconds every minute or so.


Reading that according to your findings it might be related to large Pages files it got my attention because I'm currently working on my Thesis and use Zotero with lots of indexing and caching. I assumed this might be the limit of this machine but that thought was strange because I worked on so much more taxing tasks and it just performed good enough that the operating system was still performant enough. My Thesis file currently only has half a MB (currently mainly text) so that can't be the issue I thought.


After working for days like this (it really gets frustrating) I decided to invest some time in troubleshooting again. Before that I tried to reindex Spotlight (through System Settings and Terminal) or cleared up some space but nothing did the trick. Also not even turning off Apple Intelligence which I thought could be the culprit made a difference. Until I stumbled upon some thread somewhere which just generally stated that deleting the Cache Folder in Library (Finder>Go>Go To Folder>~/Library/Caches) might help or not but it's generally not a bad idea to clean it out from time to time. Well I didn't do that for like 4 years! Which actually speaks for the rigidity of macOS.


I went to that folder and it had a size about 50GB and literally right after deleting it the freezes and the high CPU usage of corespotlightd went away. I now waited several hours to see if it was just something temporary but it seems like this was indeed the solution.


And I forgot to mention: I upgraded from 15.2 to 15.3 several days ago and it seems like something in the Cache became corrupted or faulty (be it system files or app files) and caused corespotlightd to go rampant.


So in short: give the cleanup of the ~/Library/Caches folder a try. It might help and solve this high CPU usage of corespotlightd. Hope this helps anyone.



179 replies
Sort By: 

Feb 10, 2025 1:09 PM in response to Bets

Bets wrote:

@sugarskyline. Yes, I'm pretty sure I didn't have this problem with Pages and spotlight before Sequoia. It's completely out of control on 15.3.

I think it's safe to say macOS 15.3.1 will not address this issue. According to one poster Apple's engineers have been aware of this issue since February 8 (two days ago), which is odd because I've been complaining about it since at least January 20.

Reply

Feb 10, 2025 11:17 PM in response to PolyRod

I also relocated the contents of the folders named “NSFFileProtectionCompleteUntilFirstAuthentication” and “Priority,” deleting files from the original folders.


After restarting I did not open Pages for a couple of hours, on checking the above folders, they had not changed in size since restarting.


I opened two documents within Pages and within 30 minutes the directories had doubled in size.  


I closed Pages and have just checked the directories again. After 12 hours, their sizes have not increased.


As somebody previously mentioned, the “store.db” file in both directories is exhibiting rapid growth but as to why, I don’t know

Reply

Feb 12, 2025 6:24 AM in response to AshkaTheMoltenFury

Thank you!! My Mac mini M1 16GB/512GB had started really lagging and I couldn't figure it out at all. A bit of googling and I found this post. The pesky corespotlight has gone from using 130%+ of my CPU, down to 0%. You are my hero. I'd never heard of that as a thing I should do, but will keep on top of it going forward. Mac now running like a dream again!

Reply

Feb 12, 2025 9:30 AM in response to AshkaTheMoltenFury

If this indeed works, I'd imagine deleting only the com.apple.Spotlight folder from the cache folder would be a more targeted approach. Has anyone tried this? Mine is only 9.5 MB, which would seem to not be large enough to cause issues. My entire cache folder is a much more modest 736 MB.


AshkaTheMoltenFury wrote:

Hi everyone. I also encountered this issue that corespotlightd was slugging down my M1 MBP 16GB (2021) so immensely that my system had a freeze for around 5-8 seconds every minute or so.

Reading that according to your findings it might be related to large Pages files it got my attention because I'm currently working on my Thesis and use Zotero with lots of indexing and caching. I assumed this might be the limit of this machine but that thought was strange because I worked on so much more taxing tasks and it just performed good enough that the operating system was still performant enough. My Thesis file currently only has half a MB (currently mainly text) so that can't be the issue I thought.

After working for days like this (it really gets frustrating) I decided to invest some time in troubleshooting again. Before that I tried to reindex Spotlight (through System Settings and Terminal) or cleared up some space but nothing did the trick. Also not even turning off Apple Intelligence which I thought could be the culprit made a difference. Until I stumbled upon some thread somewhere which just generally stated that deleting the Cache Folder in Library (Finder>Go>Go To Folder>~/Library/Caches) might help or not but it's generally not a bad idea to clean it out from time to time. Well I didn't do that for like 4 years! Which actually speaks for the rigidity of macOS.

I went to that folder and it had a size about 50GB and literally right after deleting it the freezes and the high CPU usage of corespotlightd went away. I now waited several hours to see if it was just something temporary but it seems like this was indeed the solution.

And I forgot to mention: I upgraded from 15.2 to 15.3 several days ago and it seems like something in the Cache became corrupted or faulty (be it system files or app files) and caused corespotlightd to go rampant.

So in short: give the cleanup of the ~/Library/Caches folder a try. It might help and solve this high CPU usage of corespotlightd. Hope this helps anyone.



Reply

Feb 12, 2025 9:57 AM in response to RThomas

This is an interesting observation. Shared Pages documents are always autosaved, so this might explain why we're experiencing greater issues with shared documents. I wonder if it might be helpful to turn off autosave. This requires flipping on the switch "ask to keep changes when closing documents" in Desktop & Dock Settings, which is off by default.


RThomas wrote:

I had been having problems before my upgrade to Sequoia. I am a heavy pages user with large docs. I began experiencing lag about a year before upgrading. As noted by another poster, the lag and freeze was most noticeable if I had made many edits, and was scrolling through the doc *without* hitting save. I was able to reduce the problems if I saved every minute or so while working.

Once I upgraded, the problems increased to pretty much any time I have a pages doc open - whether I've edited it recently or not, and no matter how little or big the file is. I've tried every solution listed here - most multiple times - they all work for a bit - sometimes for a longer, sometimes for shorter time period.

REALLY hoping they get this fixed soon - I use pages all the time, both while working with clients and as I'm preparing a manual for publication.


Reply

Feb 25, 2025 11:31 AM in response to Mitch Stone

Just to increment the anecdata.


I have this problem, new MBA (M3), 1TB drive, 16GB rams.


In frustration, I both rage quit pages and deleted metadata/corespotlight folder. Problem went away. I had half dozen pages files open, all <3MB, nothing but text. I launched pages with one file, 6000 word outline. Everything awesome for about 14 hours. Then corespotlight up and running nonstop for like 4-5 hours. Rage-quit pages again. A flurry of activity, then cpu died down, corespotlightd not in the top 20 in activity monitor.


Sent feedback via assistant to Apple, reported here. Problem does seem pages related, which is sad, because I was growing very familiar with and fond of pages over Word. Apple! Please Fix!


rage-quit means right clicking dock icon->quit while cursing loudly.

Reply

Feb 26, 2025 7:47 AM in response to Zenith

Zenith wrote:

Next stop on the troubleshooting train: exclude ~/Library/Metadata from spotlight. Why would we need spotlight to index that anyway for routine operation?

I think you're right about what is causing Spotlight metadata to balloon (and have been discussing the matter with Apple support for over a month; currently I'm waiting for a response from engineering).


That said, I tried your troubleshooting step noted above, with negative results: Spotlight metadata continued to grow, and much more quickly if Pages is running with a document open. The only "fix" for this issue I've found to work so far is to regularly delete Spotlight metadata out of the ~/library folder. I'm a pretty heavy user of Pages, so I have to do this about every ten days, by which time metadata has usually exceeded 60 GB.

Reply

Feb 26, 2025 8:20 AM in response to ericmurphysf

Lots of interesting theories on the source of this problem have been proposed since I started this discussion. I hope they are helping Apple track it down. One idea I would really like to see someone pursue is creating a new user on their Mac and using it to open a Pages file that previously caused this issue to surface. I'd perform this experiment myself, but I am not currently experiencing the issue, so I'd make a poor test case for it. Anyone willing to try this?

Reply

Feb 26, 2025 4:22 PM in response to SBML

I am beginning to like this theory a lot. I am currently working with a Finder-duplicated version of the large Pages document that previously caused CoreSpotlightd process issues. I've left it open most of the day, editing it only lightly. During this time, I've seen the process ramp up a few times, but never go nuts and take over the CPU as it did before -- and before long, it always settles down. So rather than deleting the metadata, it seems the quicker and less disruptive solution is duplicating a Pages files that is causing CPU overloads and working with the copy. In my case I have not deleted the original, so this part of the exercise seems to be unnecessary.


SBML wrote:

That's enlightening. If you duplicate the Pages doc and delete the original then you lose the versioning options. Does that reduce the metadata?


Reply

Feb 28, 2025 9:29 AM in response to Mitch Stone

Mitch Stone wrote:


The inconsistency of this problem from day to day and Mac to Mac is crazy. I am presently not experiencing it on my M2 Ultra Studio. I never experienced it on my M1 MBA, even when opening the same Pages file on it as on the Studio. All this said, I am not convinced that preference files are not implicated, because the OS writes to some them, including the spotlight plist file. I suppose if this bug was a simple one Apple would have fixed it already.

The most bizarre thing that has happened to me so far in this whole misadventure was that before I determined that it was permissible to delete CoreSpotlight metadata without e.g. ending up with an un-bootable system, I was contending with multiple Time Machine issues, kernel panics, temporary system lockups (especially during video playback), and corespotlightd pinning the CPUs on my M1 Ultra Mac Studio (pinning the CPUs on a system like that is no easy task). Okay, that's what many people on this thread have reported. But here's where it gets weird:


I have never deleted Spotlight metadata on this system. That metadata has never exceeded about 40 GB, which in my months-long experience is not generally enough to precipitate these kinds of issues, at least, not on any of the Macs I own. But, after I deleted enormous quantities (> 500 GB) of Spotlight metadata on two other Macs (my iMac Pro and my 27-inch iMac), the problems I was experiencing on my Mac Studio literally disappeared, never (or at least not yet, a month later) to reappear.


I cannot account for why this would be, other than that all three systems (and my MBP) are all on the same iCloud account, and all four have iCloud sync turned on for, among other things, Pages.


Is this just a lucky coincidence? I'm leaning in that direction. But the timing is certainly suggestive of, well…something.

Reply

Feb 28, 2025 11:06 AM in response to ericmurphysf

An update on my status. Similar problems to everyone else. I too have large pages files, several machines, and iCloud file storage and sync. Deleted spotlight metadata a few times. Helped for a while, then the problems returned -- large metadata folders, high CPU load, and that weird rhythmic spiking of the CPU usage.


This week, the mouse (old Logitech with usb dongle for bluetooth) lag was significant across several apps, beginning with pages. Thought my mouse batteries were the problem. Changed batteries. Didn't work. Changed mice - went through all 3 of my usb dongle-bluetooth Logitech mice, and then switched to my bluetooth only laptop mouse. The problems went away.


Got new bluetooth only mice, and also dumped the metadata again. CPU load has been low and steady, Corespotlight metadata folders have stayed under 10 GB for a week!


Yet another weird data point.

Reply

Feb 28, 2025 4:45 PM in response to drjz

I believe most of us are seeing this in Pages files larger than 10MB. But I from what we are hearing it seems that the size of the file (which can depend heavily on whether it includes graphics) is less the trigger than on how much it has been edited, as Pages attempts to keep track of every version. This is probably why the metadata files grow so large.


So, what I last suggested is Finder duplicating a Pages file that seems to trigger this issue. The duplicated file should not have the versioning legacy of the original. Since I started working with a copy of large (20MB+, 80k words) Pages file that caused me much grief, the problem has ceased. So now we'll see if anyone pays attention to this suggestion and tells us whether it does or doesn't work for them, too.



drjz wrote:

Could you please define large in "large Pages document"?

I had trouble with Pages files 3-6 MB. Since then, I deleted the metadata several time, narrowed Spotlight's scope, eventually to zero, turned off AI, and even switched to Word for a while. Obviously rebooted. Finally the CPU settled down. Now, I have turned Spotlight back on, turned on AI, and gone back to using Pages with the same 3+ MB files, so far no CPU problems. Magic!? (The System data is ridiculously large at 100 GB, but that is not a problem compared with the lag from an over-busy CPU.)


Reply

Mar 6, 2025 1:06 AM in response to Mitch Stone

Tried playing around with a Microsoft Word file that was an exported Pages doc and even though the system is seemingly calm at rest, if I was to make the smallest edit possible (literally just pressing space bar) the response is actually somehow much worse than if it were just a normal Pages file. There is also a new issue of the read amount being absurdly high alongside the high write speed (when editing a Word doc). The response I get from a Pages file is more gradual and irrespective of what I do, the response I get from the Word doc is 100% reactive. Each and every edit no matter how small or simple will trigger a massive CPU and disk spike. If I do nothing it goes back to normal, however the disk read will continue to be elevated for around 8-10 seconds. This is a file that isn't even in the iCloud Pages folder, it's completely offline.


Additionally, losing hope at this point that this whole issue will be fixed in the next update but of course I don't know for sure. This app was an amazing switch and I did get several months of use out of it before this issue arose but I still wish I was able to go through all the phases of my project before this happened. I was willing to eat the disk write damage to the SSD cause at least I could pretend like it's not happening but the CPU spikes so high that it makes the fans kick and it's legitimately not something I can work around.


If for whatever reason you simply need to be able to read/present your document with all comments and chapters intact, export to Word. PDF allows comments but not as intuitively. I'm actually shocked how much information is perfectly retained in the Word doc.

Reply

Mar 6, 2025 1:57 PM in response to Mitch Stone

Absolutely happening to me-- corespotlightd spilking CPU and system glitching

on brand-new MacBook Pro Apple M4 Pro running 15.3.1

started about 4 weeks after I migrated over. all problem solving failed. reset to factory settings- and no migration. same issue presented. brought back to apple- they did firmware reinstall and set back to factory settings. can now confirm this continues to happen when and only when I am running pages- generally my pages docs are re-edit of forms with numerous past editions. I quit pages and glitching and CPU spikes go away

Reply

Mar 6, 2025 2:02 PM in response to Mitch Stone

I already tried all the listed suggestions. And the issue seemingly does not manifest consistently for everyone. I know there's been a primary focus on system folders but that was always the lesser of my problems. The spikes I see aren't ignorable, they bump CPU usage up to a consistent 40%+ on an M4 Pro MacBook Pro unless I close the app. There is no way the app can be seen as usable when it's single handedly taking up nearly half the CPU power. Battery drainage is also significant as within minutes it's as high as if I was using video editing software. I would've ignored everything else if it meant I could get back to using this app cause I have things that need to get done at the end of the day and I'd much prefer to use this app as the primary choice but the impact on my machine beyond the SSD writes and deletable folders is way too much. Activity Monitor isn't why I can't ignore it, it's how I get met with immutable fan noise and system slowdown. These are also issues I have always had bundled together rather than it being something that appeared later after the system folder issues.


Also, in response to LAWM0N, I was using a Word doc in the Pages app, rather than using the Word app (I don't own it).

Reply

Continued corespotlightd process CPU overload issues

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