~/Library/Metadata/SpotlightKnowledgeEvents using a lot of disk space

The title says it all. I'm running a 2018 MacMini on macOS Sequoia 15.2 with a 500GB drive, and this folder is consuming 150GB. The folder structure is then index.V2/journals/, followed by a 10 or 11, and then two folders: cs_default and cs_priority. The cs_default folders are filled with literally thousands of files starting with the title skg_events, and ending with extensions .toc or .journal. The modification dates start at Sept. 17, 2024, which I think is roughly when I first installed Sequoia.


I've tried a few things - stopping/starting Spotlight (but have not yet tried reindexing) and restarting in SafeMode.


EtreCheck report attached - yes, I have a lot of *stuff* on my system that affects

performance, but I'm really trying to figure out how to reclaim this disk space if possible. I appreciate your help!




Mac mini (2018)

Posted on Dec 26, 2024 6:57 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 27, 2024 7:28 AM

I have both folders you are referring to and SpotlightKnowledgeEvents is sitting at 2.3 GB and CoreSpotlight is just shy of 1GB. I would suggest to exclude the drives you do not want to index and then reindex spotlight. Not every drive needs indexing depending on your use case.

Rebuild the Spotlight index on your Mac - Apple Support


The combination of the additional drives to index along with the disk related apps creating more files to index is going to add to the Spotlight index. I would take a closer look at those apps as the poor write speed you are experiencing is due to those apps constantly writing files that require spotlight to index them, increasing your data graph.


It will take some troubleshooting to see if those apps are contributing to the increased index size.

  • Disk Drill
  • SoftRaid
  • TTP
65 replies

Mar 31, 2025 8:01 AM in response to esf2141

I didn't get any confirmation from Apple support (because I didn't contact them), but I didn't find any problems after deleting the files. Also, before deleting the files, I made a copy of the files I was deleting just in case. I also asked for advice from friends who have been working with Macs for a long time and have a lot of experience. Their answer was simple - just delete it and don't worry 😅🤷‍♂️

Apr 2, 2025 12:22 PM in response to Stephen Epstein

I will chime in.


I have a 2018 intel mini and an M2 MacBook air. The folders in issue have grown massively (as large as 60 GB on the intel, and I have deleted their contents a couple of times. Yesterday, I deleted the contents of SpotlightKnowledgeEvents and CoreSpotlight and updated to Sequoia 15.4. SpotlightKnowledgeEvents is now inside CoreSpotlight and has already grown to 9.11 GB. Almost all of it (9.1 GB) is inside .../SpotlightKnowledgeEvents/index.V2/journals. The subfolder number, previously 10 and then 11, is now 12.


On the M2, there has been no problem and I have never touched it - the entire corespotlight folder is 6.5 GB. Most notably, however, .../SpotlightKnowledgeEvents/index.V2/journals is only 12k on the M2.


So, it looks like there is work being done on this problem, and evidently some progress, but this accumulation of journal files appears to remain out of control.



Feb 5, 2025 10:21 PM in response to ericmurphysf

I have a 2018 Intel Mac Mini running Sequoia 15.3 with the same problem - 137 GB of my 1 TB internal SSD is used by Spotlight - specifically


/Users/<my account>/Library/Metadata/SpotlightKnowledgeEvents/index.V2/journals


In that folder, I have 2 subfolders, 10 and 11, and each of those has two subfolders, cs_default and cs_priority:


Under 10, cs_default is 5 GB and cs_priority is 127 GB, and the files modification dates run from 10/9/24 to 11/20/24.


Under 11, cs_default is 117 GB and cs_priority is 14 GB, and the files modification dates run from 11/20/24 to now.


10/9/24 is when I installed 15.0.1 (from 14.7); 11/20/24 is when I installed 15.1.1.


So, I am thinking perhaps the 10 folder is obsolete and now longer used and can just be deleted, anyone have any ideas about this?


ericmurphysf wrote:

The advisor said that Apple okays this approach, with the caveat that you should delete these two folders' contents, not the folders themselves.


Which two folders did Apple say were OK to delete the contents of? Was it CoreSpotlight and SpotlightKnowledgeEvents, or was it cs_default and cs_priority? If the latter, it would mean 4 folders to delete.


Also, which folders are regrowing, is it all 4 folders in the 10 and 11 folders?


I'm also thinking if it will just repopulate everything fairly quickly, then necessitating another manual pruning, this cycle would also decrease the SSD lifespan. I am hoping this is a bug and will be fixed, although as it seems exacerbated on Intel it may be low priority. I am moving to AS soon, but don't want to bring over 100 GB of possibly unnecessary cruft with me (too lazy to do a clean install, I admit it).


Feb 17, 2025 8:50 AM in response to Zzzzzz Zzzzzz

In the mean time the following script run when a user logs in (or set to run as a LaunchAgent) will delete the offending directory whenever a user logs out.


As these files belong to and can be deleted by a non privileged user account I doubt it cause any issues to the underling OS, examining what was logged on a computer that is set up to do nothing other then record a webcam what is being logged in these files is total rubbish. (in its case information about tuning your guitar to match the instruments in garage band)


But this needs to be fixed by Apple as it will in time result in every intel apple computer running MacOS 15 grinding to a halt with a full disk.



#!/bin/sh

onLogout() {
    rm -r ~/Library/Metadata/SpotlightKnowledgeEvents/index.V2
    exit
}

trap 'onLogout' SIGINT SIGHUP SIGTERM

while true; do
    sleep 86400 &
    wait $!
done

exit 0

Mar 11, 2025 2:41 AM in response to Stephen Epstein

Hello everyone.

A few days ago I discovered the same issue. I use a MBP 2019 with an Intel chip, 256 GB, Sequoia 15.3.1 and I received a message about a low free disk space. You should have seen my face when I found out that more than 150 GB of disk space was occupied by system data 😳. I am not a pro-user in the macOS system, and Apple claims that system data is a closed section with limited access. So it took me a few days and a lot of internet searching to find the problem. And in my case - the reason is in the section: /Users/***/Library/Metadata/SpotlightKnowledgeEvents/index.V2/journals/11/cs_default

There are files with the extension *.journal with a total volume of over 100 GB accumulated there. I opened the largest of them in a text editor and according to the content - they are related to the Microsoft Remote Desktop program - this is the program that I currently work with the most time. After reading the comments here on this topic - various assumptions are made regarding the programs that can lead to the accumulation of excess files. I assume that the problem is at the macOS level, and the largest files relate to those programs that you work with the longest during the working day


Jan 24, 2025 10:34 AM in response to Stephen Epstein

I have disabled Spotlight indexing of the entire hard drive, disabled all indexing options, and restarted the computer. Files are still being generated but at the moment they are small (a few KB each file).

I have reviewed some large files (some are over 1.3GB), and indeed it seems to contain email indexing information.


I have a couple of mailboxes that are quite large, but the information in this folder only looks like a "journal" information of indexing process (as it includes in the file names), and it is not properly deleted.


I'll restart Spotlight indexing again, and we'll see what happens, but I think I'll eventually delete the files manually

Jan 24, 2025 10:42 AM in response to XRoom

XRoom wrote:

I have disabled Spotlight indexing of the entire hard drive, disabled all indexing options, and restarted the computer. Files are still being generated but at the moment they are small (a few KB each file).
I have reviewed some large files (some are over 1.3GB), and indeed it seems to contain email indexing information.

I have a couple of mailboxes that are quite large, but the information in this folder only looks like a "journal" information of indexing process (as it includes in the file names), and it is not properly deleted.

I'll restart Spotlight indexing again, and we'll see what happens, but I think I'll eventually delete the files manually

I tried reindexing on all four of my Macs (twice on my iMac Pro), and oddly enough none of the existing Spotlight metadata seems to have been deleted during or after the reindex. I still see Spotlight metadata files going all the way back to when I installed Sequoia on each of these systems.

Jan 24, 2025 10:44 AM in response to XRoom

I rectify, really after the restart it has created large files, some are more than 1GB.

I had only looked at the .toc type files when the big files are really the .journal type ones.


The content of some files I've reviewed points to email indexing, even though indexing for everything is disabled.


It clearly seems like a BUG in this version of Sequoia, although it does not occur on all systems (there may be some other factor causing it)

Jan 24, 2025 10:48 AM in response to ericmurphysf

ericmurphysf wrote:


XRoom wrote:

I have disabled Spotlight indexing of the entire hard drive, disabled all indexing options, and restarted the computer. Files are still being generated but at the moment they are small (a few KB each file).
I have reviewed some large files (some are over 1.3GB), and indeed it seems to contain email indexing information.

I have a couple of mailboxes that are quite large, but the information in this folder only looks like a "journal" information of indexing process (as it includes in the file names), and it is not properly deleted.

I'll restart Spotlight indexing again, and we'll see what happens, but I think I'll eventually delete the files manually
I tried reindexing on all four of my Macs (twice on my iMac Pro), and oddly enough none of the existing Spotlight metadata seems to have been deleted during or after the reindex. I still see Spotlight metadata files going all the way back to when I installed Sequoia on each of these systems.

I’m not sure what the folder in the topic of this discussion holds, but re-indexing Spotlight only alters the data stored in the hidden .Spotlight–V100 folder at the root of the drive.

essentially, all metadata attached to a file is Spotlight metadata, but it is not removed when you re-index spotlight.

Jan 27, 2025 10:25 AM in response to Stephen Epstein

I did some further experimenting today, given the SpotlightKnowledgeEvents folders on my two Intel Macs continue to grow at as much as 10 GB/day (which will exhaust the free space on these systems in roughly two months).


This morning I explicitly excluded the folder where my large Pages files reside in the filesystem (Spotlight seems to spend most of its time indexing large Pages files). But even after excluding this folder, I still see .journal files in the cs_priority folder that make repeated references to the specific file from this folder I have open in Pages. It seems that even explicitly excluding a folder from Spotlight search does not prevent Spotlight from continuing to write .journal files to the SpotlightKnowledgeEvents folder.


I have an open ticket (actually, two of them, along with another ticket with what I believe to be a related issue with Time Machine) on this issue, and one question I would like answered is if I can simply delete all of this metadata. So far no one at Apple has been able to give me an unambiguous answer to this question. It seems unreasonable, to put it mildly, that Spotlight would produce five to ten gigabytes of metadata files mainly concerned with a single 12 MB Pages file.

Feb 18, 2025 6:36 PM in response to rkwc

Question: Is deleting .Spotlight-V100 necessary as well? Anyone has experience with deleting .Spotlight-V100?

I have no idea why it would help in this situation, but I've deleted it many times, once on an external to solve a problem with searching that drive, and several other times in the startup drive in order to be able to recommend it as a possible solution to some other Spotlight problems. You can also remove it in Terminal:

sudo mdutil -X /
sudo mdutil -i on /
sudo mdutil -E /

The first may disable indexing, so the other two are to kickstart the indexing process.

Jan 24, 2025 10:12 AM in response to Stephen Epstein

You may be on to something with the DEVONThink 3 archiving your email. I have reviewed many of the files in the cs_default folder by opening them in TextEdit and it just reveals snippets of emails and messages, but the file sizes are small.


Since you were seeing 100GB on 4100 files, it would seem some of those files were very large. If you get a chance, try opening some of those large files you see in that folder to see if it gives you some clue on what is being indexed. Not all of the info is readable due to the Text Encoding, but you will be able to make out some of what you see there.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

~/Library/Metadata/SpotlightKnowledgeEvents using a lot of disk space

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