{"id":50281,"date":"2025-12-02T16:36:54","date_gmt":"2025-12-02T21:36:54","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=50281"},"modified":"2025-12-17T09:16:34","modified_gmt":"2025-12-17T14:16:34","slug":"runaway-spotlight-with-pages-document-on-icloud-drive","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2025\/12\/02\/runaway-spotlight-with-pages-document-on-icloud-drive\/","title":{"rendered":"Runaway Spotlight With Pages Document on iCloud Drive"},"content":{"rendered":"<p><a href=\"https:\/\/discussions.apple.com\/thread\/255894068?sortBy=rank\">Mitch Stone<\/a>:<\/p>\n<blockquote cite=\"https:\/\/discussions.apple.com\/thread\/255894068?sortBy=rank\">\n<p>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).<\/p>\n<p>[&#8230;]<\/p>\n<p>All this said, based on the now 12(!) pages of discussion since I started this thread, I have become convinced that the problem is Spotlight trying to index documents with a large number of edits. This is exactly how it manifested for me, with an 80k word Pages document being edited by two people with Track Changes turned on. Between us, this resulted in probably more than a thousand edits. Towards the end of the editing, I was seeing beach balling every time I opened this document for more than a few minutes at a time, and had one kernel panic.<\/p>\n<p>Once this editing process was completed, I Finder copied the document. I can now open and make additional edits to the copy without incident.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/discussions.apple.com\/thread\/255894068?answerId=255894068021&amp;sortBy=rank#255894068021\">KWiPod<\/a>:<\/p>\n<blockquote cite=\"https:\/\/discussions.apple.com\/thread\/255894068?answerId=255894068021&amp;sortBy=rank#255894068021\"><p>For three days now:<\/p><p>\t&#8226;\tI&rsquo;ve been editing these <strong>local Pages files<\/strong>, keeping them open alongside other apps like Mail, Messages, and large Numbers spreadsheets (still stored in iCloud).<\/p><p>\t&#8226;\tThere have been <strong>no corespotlightd spikes<\/strong>.<\/p><p>\t&#8226;\tIn fact, the corespotlightd process doesn&rsquo;t appear at all in Activity Monitor when working <strong>outside of iCloud<\/strong>.<\/p><p>\t&#8226;\tIn contrast, with Pages files stored in iCloud\/Documents or iCloud\/Desktop, corespotlightd is <strong>always active<\/strong>.<\/p><p>This suggests a strong link between <strong>Pages auto-saving to iCloud Drive<\/strong> and <strong>Spotlight re-indexing<\/strong>, which seems to trigger runaway CPS activity.<\/p><\/blockquote>\n\n<p>Via <a href=\"https:\/\/x.com\/malhal\/status\/1995180550802350119\">Malcolm Hall<\/a>:<\/p>\n<blockquote cite=\"https:\/\/x.com\/malhal\/status\/1995180550802350119\">\n<p>If you leave a Pages document open that is stored in iCloud Drive then Spotlight will fill the disk and the Mac will begin to hang as it writes out huge files every 10 seconds.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/08\/29\/spottest-1-1\/\">SpotTest 1.1<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/07\/21\/spotlight-indexing-running-wild\/\">Spotlight Indexing Running Wild<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/12\/01\/long-app-hangs-due-to-spotlight\/\">Long App Hangs Due to Spotlight<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/07\/18\/invasive-spotlight-indexing\/\">Invasive Spotlight Indexing<\/a><\/li>\n<\/ul>\n\n<p id=\"runaway-spotlight-with-pages-document-on-icloud-drive-update-2025-12-17\">Update (<a href=\"#runaway-spotlight-with-pages-document-on-icloud-drive-update-2025-12-17\">2025-12-17<\/a>): <a href=\"https:\/\/mastodon.social\/@eurozerozero\/115733924905976890\">eurozerozero<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@eurozerozero\/115733924905976890\">\n<p>I&rsquo;m definitely having this issue.<\/p>\n\n<p>Today I noticed my MacBook Pro was warm to the touch and had used 30% of its battery in an hour, which never happens. Looking in Activity Monitor there was constant high CPU usage in fileproviderd caused by Pages being open in the background with a shared document that&rsquo;s in iCloud Drive.<\/p>\n\n<p>Seems like a very serious bug.<\/p>\n\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Mitch Stone: 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. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2025-12-02T21:36:57Z","apple_news_api_id":"4e504436-137c-4ad4-823e-b66639ad812e","apple_news_api_modified_at":"2025-12-17T14:16:38Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/ATlBENhN8StSCPrZmOa2BLg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[131,913,2598,2742,472,1042],"class_list":["post-50281","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bug","tag-icloud-drive","tag-macos-15-sequoia","tag-macos-tahoe-26","tag-pages","tag-spotlight"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=50281"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50281\/revisions"}],"predecessor-version":[{"id":50475,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/50281\/revisions\/50475"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=50281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=50281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=50281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}