Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mountain Lion installed a few weeks ago but MBP is running really hot!! How can I fix mds and mdworker in the activity center?

Hello, I installed Mountain Lion a few weeks ago on my mid-2009 Macbook Pro. Ever since then my computer runs extremely hot! I keep an eye on my activity monitor, and I think I can pin it to mds and mdworker. From what I've read, this is related to Searchlight and indexing, however I can't imagine that it should still be indexing?? Any suggestions? I am not a computer pro, so I don't do my own programming or anything like that. Thank you in advance!

MacBook Pro, OS X Mountain Lion

Posted on Aug 6, 2012 4:26 PM

Reply
6 replies

Aug 6, 2012 6:37 PM in response to peachyk

If you have more than one user account, these instructions must be carried out as an administrator.


Launch the Console application in any of the following ways:


Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.


Step 1


Select "system.log" from the file list. Enter "mdworker" (without the quotes) in the Filter text field. Post the messages that appear in the Console window — the text, please, not a screenshot.


If there are runs of repeated messages, post only one example of each. Do not post many repetitions of the same message.


Some personal information, such as the names of your files, may be included — edit that out, too, but don’t remove the context.


Step 2


Do the same with the search string "mds".

Aug 6, 2012 8:08 PM in response to Linc Davis

Thank you for your quick response! I'm not sure which runs are repeated and which aren't, so I deleted what I thought were the obvious ones. But, I probably still left a lot of stuff that is more than one example. Sorry ... Thank you for the help!!


For "mdworker":


Jul 26 00:34:30 Kandice com.apple.launchd.peruser.501[220] (com.apple.mdworker.shared.04000000-0000-0000-0000-000000000000[3756]): Exited: Killed: 9

Jul 30 16:08:07 Kandice.local sandboxd[1532] ([1531]): mdworker(1531) deny file-write-create /private/var/folders/rc/vsm6_wld6sg0_zz7kzqm56mr0000gn/T/TemporaryItems/(A Document Being Saved By mdworker) (import fstype:hfs fsflag:480D000 flags:200000056 diag:0 uti:com.apple.iphoto.ipspot plugin:/Library/Spotlight/iPhoto.mdimporter - find suspect file using: sudo mdutil -t 53940775)

Jul 31 13:04:23 Kandice.local sandboxd[6740] ([4080]): mdworker(4080) deny file-read-data /Library/Filesystems/NetFSPlugins (pre-ls-info fstype:mtmfs fsflag:4100009 flags:200000056 diag:0 uti:com.apple.application-bundle plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 72057598386897422)

Aug 1 12:50:49 Kandice.local mdworker32[9305]: CGSGetDisplayBounds: Invalid display 0x00000000

Aug 2 19:40:43 Kandice.local mdworker[12561]: zip importer encountered an error (2) scanning "/.MobileBackups/Computer/2012-08-02-162028/Volume/Users/Kandice/Desktop/###### .zip".

Aug 5 15:50:41 Kandice com.apple.launchd.peruser.501[164] (com.apple.mdworker.mail.01000000-0000-0000-0000-000000000000[18475]): Exited: Killed: 9

Aug 6 16:13:10 Kandice.local mdworker32[2353]: CGSGetDisplayBounds: Invalid display 0x00000000

Aug 6 16:13:45 Kandice.local mdworker[2346]: zip importer encountered an error (2) scanning "/Users/Kandice/Library/Containers/com.apple.mail/Data/Library/Mail Downloads/#########. 4.zip".

Aug 6 16:13:48 Kandice.local sandboxd[2359] ([2358]): mdworker(2358) deny file-write-owner /Users/Kandice/Library/Containers/com.apple.Notes/Data/Library/Notes/NotesV1.st oredata-wal (import fstype:hfs fsflag:480D000 flags:200000056 diag:0 uti:com.apple.notes.externalrecord plugin:/Library/Spotlight/Notes.mdimporter - find suspect file using: sudo mdutil -t 53772765)

Aug 6 16:13:48 Kandice.local sandboxd[2359] ([2358]): mdworker(2358) deny file-write-owner /Users/Kandice/Library/Containers/com.apple.Notes/Data/Library/Notes/NotesV1.st oredata-shm (import fstype:hfs fsflag:480D000 flags:200000056 diag:0 uti:com.apple.notes.externalrecord plugin:/Library/Spotlight/Notes.mdimporter - find suspect file using: sudo mdutil -t 53772765)

Aug 6 16:21:31 Kandice.local sandboxd[2412] ([2408]): mdworker(2408) deny file-read-data /Users/Kandice/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/connectaddin (pre-ls-info fstype:hfs fsflag:480D000 flags:200000056 diag:0 uti:com.apple.application-file plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 9272877)

Aug 6 16:21:36 Kandice.local mdworker32[2415]: CGSGetDisplayBounds: Invalid display 0x00000000



For "mds":


Jul 26 00:31:32 Kandice.local mds[41]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Jul 26 00:31:32 Kandice.local mds[41]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Jul 26 07:18:47 Kandice.local mds[37]: (Normal) FMW: FMW 0 0

Jul 26 07:18:48 Kandice.local mds[37]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"

Jul 26 07:21:12 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Jul 26 07:21:12 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Jul 26 13:10:51 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 2 16:43:23 Kandice.local mds[37]: (/Volumes/########/.Spotlight-V100/Store-V2/56815485-65B7-491A-927B-20DFCB5E3AC 1)(Warning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Unexpected transaction id 5. Expected 4. Attempting repair

Aug 2 16:43:23 Kandice.local mds[37]: (/Volumes/##########/.Spotlight-V100/Store-V2/56815485-65B7-491A-927B-20DFCB5E3 AC1)(Warning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Transaction id is now 5

Aug 2 20:15:17 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Aug 2 20:15:17 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Aug 3 09:24:57 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 09:35:47 Kandice.local mds[37]: (/Volumes/##########/.Spotlight-V100/Store-V2/56815485-65B7-491A-927B-20DFCB5E3 AC1)(Warning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Unexpected transaction id 7. Expected 6. Attempting repair

Aug 3 09:35:47 Kandice.local mds[37]: (/Volumes/############/.Spotlight-V100/Store-V2/56815485-65B7-491A-927B-20DFCB5 E3AC1)(Warning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Transaction id is now 7

Aug 3 12:34:42 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Aug 3 12:34:42 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Aug 3 13:31:45 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 16:41:23 Kandice.local mds[37]: (/Volumes/##########/.Spotlight-V100/Store-V2/56815485-65B7-491A-927B-20DFCB5E3 AC1)(Warning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Unexpected transaction id 9. Expected 8. Attempting repair

Aug 3 16:41:24 Kandice.local mds[37]: (/Volumes/############/.Spotlight-V100/Store-V2/56815485-65B7-491A-927B-20DFCB5 E3AC1)(Warning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Transaction id is now 9

Aug 3 16:42:14 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Aug 3 16:42:14 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Aug 3 20:57:56 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Aug 3 20:57:56 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Aug 3 21:47:07 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 21:52:27 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(E rror) IndexState in int _SIOpenIndexFilesWithState(SIRef, uint32_t, _Bool, _Bool, _Bool, _Bool *, DocID *, CIDocCounts *):ContentIndexOpenBulk err:-1

Aug 3 21:52:31 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 21:52:41 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexState in void updateMetaInfoForState(CIMetaInfo *, unsigned int, unsigned int):clean live count mis-match expected:3 got 2

Aug 3 21:52:41 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 21:52:44 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Unexpected transaction id 4. Expected 3. Attempting repair

Aug 3 21:52:44 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Transaction id is now 4

Aug 3 21:53:03 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 21:53:29 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexState in void updateMetaInfoForState(CIMetaInfo *, unsigned int, unsigned int):clean live count mis-match expected:5 got 4

Aug 3 21:53:30 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 21:53:58 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexState in void updateMetaInfoForState(CIMetaInfo *, unsigned int, unsigned int):clean live count mis-match expected:6 got 4

Aug 3 21:53:59 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 21:54:21 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexState in void updateMetaInfoForState(CIMetaInfo *, unsigned int, unsigned int):clean live count mis-match expected:6 got 4

Aug 3 21:54:24 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 21:55:59 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexState in void updateMetaInfoForState(CIMetaInfo *, unsigned int, unsigned int):clean live count mis-match expected:7 got 4

Aug 3 21:55:59 Kandice.local mds[37]: (/)(Warning) IndexQuery in bool preIterate_FSI(SISearchCtx_FSI *):Throttling inefficient file system query

Aug 3 21:56:03 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Unexpected transaction id 5. Expected 4. Attempting repair

Aug 3 21:56:03 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Transaction id is now 5

Aug 3 21:56:03 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Unexpected transaction id 6. Expected 5. Attempting repair

Aug 3 21:56:04 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Transaction id is now 6

Aug 3 21:56:04 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Unexpected transaction id 7. Expected 6. Attempting repair

Aug 3 21:56:04 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Transaction id is now 7

Aug 3 21:56:04 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Unexpected transaction id 8. Expected 7. Attempting repair

Aug 3 21:56:04 Kandice.local mds[37]: (/Volumes/IPOD/.Spotlight-V100/Store-V2/2F6332C0-C5A9-4883-83A9-773046F05421)(W arning) IndexStore in void setAttributes(si_set_attr_ctx *, Boolean):Transaction id is now 8

Aug 3 21:57:56 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Aug 3 21:57:56 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Aug 5 15:52:24 Kandice.local mds[37]: (Normal) FMW: FMW 0 0

Aug 5 15:52:26 Kandice.local mds[37]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"

Aug 5 15:53:04 Kandice.local diskarbitrationd[16]: mds [37]:22275 not responding.

Aug 5 15:54:23 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Aug 5 15:54:23 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Aug 6 09:03:29 Kandice.local mds[37]: (Normal) FMW: FMW 0 0

Aug 6 09:03:32 Kandice.local mds[37]: (Warning) Server: No stores registered for metascope "kMDQueryScopeComputer"

Aug 6 09:08:37 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Aug 6 09:08:37 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Aug 6 16:06:40 Kandice.local mds[37]: (/Volumes/LaCieBackup/.Spotlight-V100/Store-V1/Stores/9F5A0A66-2538-41C0-B97E-4 BF28BC0FA77)(Error) IndexStore in bool setLocalizedAttributesLocked(datastore_info *, db_obj **, CFStringRef *, CFDictionaryRef *, CFIndex, StoreOptions, CFDictionaryRef, bool, bool, CFArrayRef):Error:7 setting field:com_apple_system_prefs_keywords for oid:9705370

Aug 6 16:09:06 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int CICompactPayloads(PayloadData *, int, bit_vector *, uint32_map_t *, PayloadData *, const char *, int, int *):expected term id 111

Aug 6 16:09:06 Kandice.local mds[37]: (/.Spotlight-V100/Store-V2/E3891D76-A20D-4E9A-9ABF-0FE2B263B416)(Error) IndexCI in int index_compact(ContentIndexPtr, CICompactCallbacks, int, _Bool *):Failed compacting postings

Aug 7, 2012 9:05 AM in response to Linc Davis

Just based on other discussions that I have read - some people seemed to notice that mds and mdworker were running a lot in their activity center, due to spotlight. I really have no idea of my own. I just know my computer runs really hot, and that in the activity center, mds and mdworker seem to be very busy. This has only been in occuring in the few weeks since I installed the new operating system.

Aug 12, 2012 9:28 AM in response to peachyk

I am having the EXACT same issue. ever since the upgrade, my MBP is just plain old MAD! I also use a mid 09 MBP upgraded 500GB HD w/ 8GB Ram. After getting past 2.00GB Ram Usage, my computer is ******!!! the fan is running like crazy and heats up where I feel that I need to shut it down and wait for it to cool. I keep Activity Monitor open all the time now just to monitor. What is going on?


I have had the install for over 4-5 days now, so indexing should be complete. There are no other users on this MBP either.

Mountain Lion installed a few weeks ago but MBP is running really hot!! How can I fix mds and mdworker in the activity center?

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