Mac is very slow after a reboot

For some time now I've been experiencing an issue where once my mac is rebooted, it can take up to 15 minutes before it's usable again.

I only have one app that opens when the computer starts up, and that's Spotity (which normally I force quit).

I've checked activity monitor, and I can't see anything that's using too much CPU and there's plenty of RAM free (9Gb free). Also no swap space being used.

Machine in question is...

2011 iMac OS X Yosemite 10.10
Core i5 2.5Ghz Processor
16Gb 1333 MHz DDR3 RAM

Can someone help attempt to track down what the issue may be? if there is one?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kash2nd Line EngineerCommented:
run disk permissions check.
Its more likely to be permissions which are causing the sluggishness
go to Utilities -> Disk Utility and First Aid -> Repair Disk Permissions
The S.M.A.R.T status should be normal if not then your disk itself is about to die.
SheppardDigitalAuthor Commented:
S.M.A.R.T status is verified?

Performing a permissions check now, I believe I did this sometime last week, but I'll do it again to be on the safe side.
SheppardDigitalAuthor Commented:
Permissions check reported the following;

Group differs on “Library/Printers/InstalledPrinters.plist”; should be 80; group is 0.
Permissions differ on “Library/Printers/InstalledPrinters.plist”; should be -rw-rw-rw- ; they are -rw-r--r-- .
Warning: SUID file “System/Library/CoreServices/RemoteManagement/” has been modified and will not be repaired.
User differs on “private/var/db/displaypolicyd”; should be 0; user is 244.
Group differs on “private/var/db/displaypolicyd”; should be 0; group is 244.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Sigurdur ArmannssonDesigner Commented:
Are you using Dropbox, Google Drive or Copy?

After restart the mac might be busy synchronizing the drives.

Spotlight indexing might also be a cause and if that is the problem it would be wise to delete the index and make Spotlight make a new one. The old one might be corrupt.
SheppardDigitalAuthor Commented:
Thanks, I will try disabling spotlight and see if that helps to narrow down the issue.
Try uninstalling Spotify and reboot.
First run Verify Disk in Disk Utility.

If that is okay, then reboot holding down the shift key to perform a safe boot. The safe boot will take a little longer as it does a disk check first (you will see a progress bar), but if it boots normally after the disk check is done, then you know the problem is a startup item, probably Spotify.

You could also check the console logs for repeated errors during the startup.
Justin BradshawOwnerCommented:
Remove all startup items:
System preferences > users > login items
User > Library > LaunchAgents
User > Library > LaunchDaemons
User > Library > startupitems
Root > Library > LaunchAgents
Root > Library > Launchdaemons
Root > Library > startup items

And reboot. Take note of any apps you disabled and reinstall them if necessary.

And I wanted to reiterate two other suggestions:
Could be spotlight rebuilding each time
Could be permissions or the beginning of a disk failure.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SheppardDigitalAuthor Commented:
I've disabled spotlight and uninstalled spotify. I did tell de-select spotify under users & groups, but it still opened up so resorted to simply removing it instead.

Boot up to desktop took 1:28
Opening Mac Mail 0:20
PHP Storm 3:10 (this seems like a long time)
Chrome 0:10
Skype 0:40
Photoshop 0:25

So in general it feels faster, and I'll look into PHPStorm as a separate issue.

Next I'll enable spotlight to see if it has any affect on the above.
Deselecting a logon item in users and groups only causes it to open in the background instead of the foreground. To stop it from opening at logon, you have to highlight it and hit the minus button at the bottom left to delete it altogether.
SheppardDigitalAuthor Commented:
@strung, ah, I have a few items in my list that are unticked, maybe that's what is causing a slowdown.

I'll have a check
SheppardDigitalAuthor Commented:
I completely removed items from starting up, that helped a bit.

I also managed to look at the console and note that teamviewer was generating a lot of errors even though I had previously removed (incorrectly as it happens). I've re-installed TeamView and uninstalled it properly, again, that's helped a bit.

Boot up to desktop is now around a minute, and it's only a minute or two after than now when I can start to open applications. For example, PHPStorm opens in about 40seconds compared to over 3minutes earlier.

Seems to have done the trick, thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Mac OS X

From novice to tech pro — start learning today.