11 Replies Latest reply: May 9, 2012 1:22 AM by michaelfrommalmø
michaelfrommalmø Level 1 Level 1 (5 points)

I know several others have had this problem, but was there ever found a solution ??

 

I never had the problem before, but now all of a sudden mtmd and mds processes consume huge amounts of CPU (+250% together) and I cannot really work on the laptop. It pretty much started after my external Apple 24" monitor froze and I had to hard boot.

 

I am running Parallels and made Bootcamp "private" because of other performance problems with mds.

I am also running backups to Time Machine, but have now been forced to turn this off.

 

When running Kaspersky AND Time Machine turned on - I cannot work at all.

 

So, was there ever found any solution to this (other than turning off Time Machine, which is probably not the intension from Apple).

 

I am running X Lion on a 15" Mac Book Pro from June 2010, 2,66GHz, Intel Core i7, 4 Gb DDR3. All software updated as far as I know. Also, just updated the firmware on the Time Capsule.


Mac Pro, Mac OS X (10.7.2), Parallels Desktop
  • 1. Re: mtmd and mds doing huge CPU load
    Linc Davis Level 10 Level 10 (118,430 points)

    Please read this whole message before doing anything.

     

    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

     

    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:

     

    • Be sure your Mac is shut down.
    • Press the power button.
    • Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    • Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).

     

    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.

     

    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

     

    Test while in safe mode. Same problem(s)?

     

    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • 2. Re: mtmd and mds doing huge CPU load
    michaelfrommalmø Level 1 Level 1 (5 points)

    I have now done some testing ...

     

    In Safe Mode there seem to be no problems at all.

     

    In Normal Mode the problem seems to be that mtmd, mds and mdworker kick in and preceede every action, whether it is starting up an application or simply selecting menu points for execution. Then I get the spinning wheel for 5-10 seconds.

     

    It my suspicion that actions leading to disk I/O are the ones creating problems. E.g. if I run the Verify Disk Permisisons under Disk Utility tool, then it goes crazy and the OS becomes unresponsive ...

     

    This example is when starting Thunderbird (there are more processes running seen here, couldn't fit them into one screen):

    Activity Monitor - Normal mode - Thunderbird - Internet - Firefox.jpg

     

    When running Verify Disk Permissions it looks like this:

    Activity Monitor - Normal mode - Verifying disk permissions.jpg

     

    If Kaspersky starts scanning it goes nuts.

     

    When I turn off Time Machine every falls back to normal.

     

    I am running Parallels, but have excluded Boot Camp from Spotlight indexing. I once 3 months ago reinstalled the entire OS X due to a disk errors in the boot area. Parallels remained unharmed, but I think som soft linking or mounting of the Mac disk seen from Parallels side may have caused problems. At Least Windows 7 reports that some drives cannot be connected, but other than that Parallels/Windows run fine.

     

    I am not really sure where to go from here go get Time Machine back on track ...

     

    Regards,

    Michael

  • 3. Re: mtmd and mds doing huge CPU load
    Linc Davis Level 10 Level 10 (118,430 points)

    Uninstall the Kaspersky crapware, reboot, and test.

  • 4. Re: mtmd and mds doing huge CPU load
    Topher Kessler Level 6 Level 6 (9,340 points)

    You can try deleting the Spotlight index and having OS X rebuild it. To do this, go to the Spotlight system preferences and add your hard drives to the "Privacy" list. Then remove them and wait for Spotlight to re-index the system.

  • 5. Re: mtmd and mds doing huge CPU load
    michaelfrommalmø Level 1 Level 1 (5 points)

    Well, I actually installed Kaspersky, because I had performance problems with MacKeeper and Kaspersky seem to work much better ...

  • 6. Re: mtmd and mds doing huge CPU load
    Linc Davis Level 10 Level 10 (118,430 points)

    Both are useless garbage.

  • 7. Re: mtmd and mds doing huge CPU load
    Topher Kessler Level 6 Level 6 (9,340 points)

    An automatic transmission and ABS brakes are useless to a racecar driver, but for most people they're quite handy. AV utilities are not without their problems, but are progressively becoming more and more needed by the non-technical OS X users who need assurance, if nothing better, that they can catch malware if/when it happens.

  • 8. Re: mtmd and mds doing huge CPU load
    michaelfrommalmø Level 1 Level 1 (5 points)

    Less that 1% of the users are race car drivers - for the rest there is no alternative to AntiVirus & Malware applications. Just ONE virus incident can ruin years of work, photos, etc. and cause a lot of pain. Most people also have insurrance on their car and house - even though they may be good drivers or stay at home all the time.

     

    So AV is - despite the problems it may cause - a necessity and users unfortunately have to accept that it sometimes lower performance, but there is no real alternative.

  • 9. Re: mtmd and mds doing huge CPU load
    michaelfrommalmø Level 1 Level 1 (5 points)

    Anyway, I got rid of my problem. The Spotlight index must have been corrupt some way.

     

    I added both "Macintosh HD" and "Time Capsule" to the private-list in Spotlight - rebooted and removed them from the private-list again. This seem to have solved the problem of overloading the CPU.

     

    Now Kaspersky runs without any problems (heavy CPU load) again.

    Also, the Disk Utility tool can operation without draining the CPU.

     

    Thanks for the hint.

  • 10. Re: mtmd and mds doing huge CPU load
    softwater Level 5 Level 5 (5,370 points)

    If you're going to use any AV software use the free ClamXAV, available here, which plays well with Mac:

     

    http://www.clamxav.com/download.php

     

    Kaspersky is well known to cause issues with Mac.

    MacKeeper has caused thousands of users untold damage more serious than any virus or malware than any I've heard of.

  • 11. Re: mtmd and mds doing huge CPU load
    michaelfrommalmø Level 1 Level 1 (5 points)

    Thanks for the tip - I will check it out.

     

    Agree with you on the MacKeeper comment.