# MacOS的mds_stores佔用CPU過高 導致發熱問題 最近Mac在沒開什麼App的情況下,都會開始莫名發熱,原本以為是瀏覽器一直開著的關係,但是關閉所有App後看到CPU的貓咪監控跑動狀況依舊有點快,檢查Activity Monitor才發現mds_stores的CPU佔用非常的高,上網查他是Spotlight的工作程序,而一直佔用的原因有可能一個或多個應用程序在不斷更改資料夾的內容導致。 ## 解決方式 1. 開啟終端機 重新載入動作。 ``` sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist ``` 2. 重新開機 3. 開啟終端機 關閉索引: ``` sudo mdutil -a -i off ``` 刪除索引: ``` sudo mdutil -E ``` 重新開啟索引: ``` sudo mdutil -a -i on ``` 如果之後依舊會發生過熱狀況,檢查到底是什麼應用程序導致檔案索引一直在更新動作產生大量目錄。 ``` sudo fs_usage -w -f filesys mds_stores ``` 找到後到系統偏好設定->Spotlight->隱私權,把它給封鎖起來! # 參考 [mds_stores 佔用大量 CPU](https://lichi-chen.medium.com/mds-stores-佔用大量-cpu-6a96bbc3dd40) [mds and mds_stores constantly consuming cpu](https://apple.stackexchange.com/questions/144474/mds-and-mds-stores-constantly-consuming-cpu) [解决 macOS 中 mds_stores 占用 CPU 过高导致风扇运转、发烫问题](https://laowangblog.com/fix-macos-mads-stores-cpu-high-usage.html)
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.