You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Lion mdworker and mdworker32 draining battery

Hi


Since upgrading to Lion my Macbook Pro 13 is getting very hot and constantly indexing with 4 x mdworker and 1 x mdworker 32


They are taking loads of CPU, causing a lot of heat and taking the battery that was steadily at 6-7 hours pre Lion down to 2 hours


I have seen lots of old threads on mdworker problems in Leopard and previous releses, but I have not had this problem until upgrading to Lion


Is there something different Lion is doing and any way to switch it off or is it a problem?


I went into System Preferences -> Spotlight and excluded my entire hard drive but it still keeps kicking in randomly a while after use. When rebooted it stays OK for a while then starts to go crazy as I use more apps.


There was only one incompatible app when I upgraded (McAfee Security) which I dont know if relevant.


My system.log seems to indicate there is some issue with McAfee even though not running - but could be a red herring and totally inrelated:


Menulet[16385]: Menulet : Caught an Exception while Registering with FMP

Menulet[16385]: Failed to register with FMP

com.apple.launchd.peruser.501[339] (com.mcafee.menulet): Throttling respawn: Will start in 10 seconds

com.mcafee.reporter[16386]: objc[16386]: Object 0x41b630 of class __NSCFString autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug

McAfee Reporter[16386]: Reporter : FMP exception in ReporterRegisterWithFMP: msg :: connect call failed

McAfee Reporter[16386]: Failed to register with FMP

com.apple.launchd.peruser.501[339] (com.mcafee.reporter): Throttling respawn: Will start in 10 seconds

com.apple.kextd[10]: Can't open CFBundle for /usr/local/McAfee/AntiMalware/Extensions/Virex.kext.

--- last message repeated 1 time ---

com.apple.kextd[10]: Error: Kext /usr/local/McAfee/AntiMalware/Extensions/Virex.kext - not found/unable to create.

com.mcafee.virusscan.ssm.ScanManager[16387]: /usr/local/McAfee/AntiMalware/Extensions/Virex.kext failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).

com.apple.launchd[1] (com.mcafee.virusscan.ssm.ScanManager): Throttling respawn: Will start in 10 seconds


Anybody else getting this mdworker/mdworker32 going a little crazy now they are on Lion?


Thanks, Chris

MacBook Pro, Mac OS X (10.7)

Posted on Jul 25, 2011 11:52 AM

Reply
36 replies

Aug 18, 2011 8:36 AM in response to snowpocalypse

Can I somehow switch off only Time Machine disk indexing while keeping indexing of my main drive on?


Thanks


By the way in addiiton to high CPU usage and overheating on my MacBook Pro 13 2010, I encoutered issues with my 2,5 WD external USB drive (750GB) - it was switching on and off, sometimes it occured unreadable (several pop-ups) etc. The solution (hopefully) was to download WD firmware update (released 3/8/2011)...

Aug 19, 2011 4:31 AM in response to Chris-UK

i was reading these forums and decided and noticed that some process starting with 'bz' was running. i recall reading somewhere that backblaze could be at fault and realized that, while i'd disabled backblaze i had not actually uninstalled it as i wasn't sure if i still wanted to use their service after the trial.


well all i did was use their uninstaller (from http://www.backblaze.com/how-to-uninstall-backblaze.html -> The uninstaller is found in /Library/Backblaze/UninstallBackblaze.zip) and with 2 seconds the CPU churn disappeared including mds and mdworker!


this was the quickest fix i've seen in a long time. thought it could help others.

Aug 31, 2011 1:30 PM in response to Chris-UK

There are so many threads on this topic I don't know which to join.


I'm running Lion + Time Capsule


I get multiple mdworkers that kick in after a TM backup, presumably because something notices that the volume is mounted.


I can get them to go away by ejecting the volume from Finder.


I have tried sudo mdutil -i off /Volumes/TimeMachineBackups


I have tried dragging the Time Machines Backup device onto the Spotlight Privacy syspref, where I'm told it will only ignore other, non-backup, data on that disk.


While these have yielded temporary relief, NOTHING stops the mdworkers from relaunching after the next backup (incidentally, I have auto-backups turned off, and a little shareware called Time Machine Editor actually runs the backups -- but I think this is immaterial since it seems to be simply the mounting of the drive that triggers spotlight indexing).


Here's a question: does indexing go back to "square one" every time I cancel indexing by ejecting the volume, or is it possibly making progress over time?


grr. hate this.

Aug 31, 2011 3:01 PM in response to Chap Harrison

There seems to have been a change in how indexing is performed in Lion. It seems a bit more fragile than in Snow Leopard. I've noticed this in Time Machine and in Mail.


The reindexing won't ever go away until you let it run to completion. If you are on a wireless link to your backup, you will need to connect an ethernet cable instead.


You might also need to erase your Time Machine and start a new one. That is the only thing that really helped me. People who like having 2 years worth of backups might not like that advice. Personally, I don't see the point in that. I want Time Machine to be there and running and I don't care if I have to erase it every year or so. That is still at least 70 times more backups than any other backup method.

Aug 31, 2011 3:57 PM in response to Chap Harrison

Chap Harrison wrote:


So, what about the indexing? Is it incremental, or does it have to be done in a single, uninterrupted "session"?

I'm pretty sure it must be done in one session. If you unmount the drives, it starts over. When I first installed Lion I could tell it was doing that because it would complain about the same bad fonts from my earliest backup.


This is related to the general "fragility" of Lion indexing that I mentioned above. Reindexing can be done incrementally. When things work normally, it reindexes after each backup and that happens in a couple of minutes and you never notice it. But sometimes, something causes Time Machine to demand a reindex of the entire volume. When that happens, there is no getting past it.


Abruptly erasing the Time Machine worries me. Not that I think I'll suddenly need something from two years ago, but more likely two days ago, or two weeks ago.


You can always copy them off to another drive. You won't have the fancy interface, but you will still have your data. I don't know any other way to get it to settle down.

Sep 4, 2011 11:02 AM in response to Chris-UK

I finally got this licked, after nothing worked, including forcing Spotlight to reindex by hiding then making all my drives available. So try this

You'll probably want to do this when you have 5 or so hours for your drives to reindex, so before bedtime may be good.


go to terminal

type this

sudo mdutil -avE

you'll have to enter your password, but you probably know that

this is what happened for me.


Indexing enabled.

/.MobileBackups:

Indexing enabled.

/Volumes/MobileBackups:

Index is read-only.

/Volumes/MobileBackups/Backups.backupdb:

Index is read-only.

/Volumes/bob's odds & ends:

Indexing enabled.

/Volumes/bob's time machine:

Indexing enabled.

/Volumes/bob's time machine/Backups.backupdb:

Indexing enabled



Restart you computer.


Let the computer reindex Spotlight.

For me that did it...nothing else I did trying to reset spotlight had worked. Now my MDS is not eating up my processor and over heating my computer.

Much better

Jan 30, 2012 1:41 PM in response to Chris-UK

Greetings,

I am running into a similar problem and it occurs on Lion when McAfee Report runs it's "Update". At which point it drives the CPU up to 80% to 90%. The logs indicates occational errors on accessing the sparsebundle (which is part of how File Vault 1 operates). I have not upgraded the home directory to File Vault 2, yet. Given the commentary in this thread, I am a little scared to do so at this time.


Once the McAfee Report runs in its failed mode, the log indicates a repetitive set of failed calls to spotlight, quicklook, and mDNSResponder: __SCPreferencesAccess open() as well as timeouts on FSEvents. It appears that once every half hour a call is made to the Bonjour and it is rendered temporarily unavailable.


Has any one else observed this behavior? Any ideas about how to fix this?


V/R,

Energetic iDeveloper

Lion mdworker and mdworker32 draining battery

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