Very slow to start processes or open applications I have a Mac Mini (Mid 2011, 8GB RAM) with Yosemite which is getting slower and slower. But the weird thing is that only opening applications or starting new processes (from the terminal) is terribly slow.

Once an application is started (it can take up to 5 minutes to open Excel) then it works without any problem.

What I looked so far:


the log files seem normal
monitoring the system with opensnoop shows a lot of activity from Spotlight (mds_stores ist the process using more CPU time and mdworker)
in general the CPU is almost idle
disk seems healthy (no S.M.A.R.T. errors, no problems while checking it with Disk Utility)


Where could I look for a hint on what is making the machine slow?
First: Make sure you have an up-to-date backup. 

Assuming no hard drive issues, this Sounds like Spotlight is having problems indexing. I have also seen slow app launching due to bad font caches. 

I assume that you have let the system run for a while so that Spotlight can have a chance to update its databases. This can take a while, although on a relatively current Mac with an SSD drive, it should not take more than a few hours. 

It is also possible that there are other cache's or background cleanup utilities that are not running properly. 

You can try Onyx. Be sure to download the correct version of Oxny for your version of Mac OS X. Oxny is a GUI wrapper for a wide variety of command line tools to deal with these types of issues. After you run Oxny, you can expect the first startup time to be MUCH slower because various databases, caches and the like need to be rebuilt. There after, it should be back to full speed.