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.
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):
When running Verify Disk Permissions it looks like this:
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 ...
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.
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.
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.
If you're going to use any AV software use the free ClamXAV, available here, which plays well with Mac:
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.