ry.N

Q: What is "securityd"?

For some reason, the process "securityd" is taking up 100% of my CPU and I don't know what it is. I've tried Google, and people have reinstalled the OS, and for some it worked, some it has failed. I never had this issue before and it just randomly became one.

MacBook Pro with Retina display, OS X Yosemite (10.10)

Posted on Apr 14, 2015 5:45 PM

Close

Q: What is "securityd"?

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Apr 14, 2015 7:11 PM in response to ry.N
    Level 10 (207,915 points)
    Applications
    Apr 14, 2015 7:11 PM in response to ry.N

    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 the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.

    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

    The login screen appears even if you usually login 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?

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

  • by ry.N,

    ry.N ry.N Apr 15, 2015 3:38 PM in response to Linc Davis
    Level 3 (820 points)
    Apr 15, 2015 3:38 PM in response to Linc Davis

    I didn't do what you told me to do yet, but when I quit the Mail app, securityd no longer hogs my CPU. Not sure if that helps.

  • by Linc Davis,Solvedanswer

    Linc Davis Linc Davis Apr 15, 2015 4:40 PM in response to ry.N
    Level 10 (207,915 points)
    Applications
    Apr 15, 2015 4:40 PM in response to ry.N

    Back up all data before proceeding.

    Triple-click anywhere in the line below on this page to select it:

    /var/db/CodeEquivalenceDatabase

    Right-click or control-click the highlighted line and select

              Services Reveal in Finder (or just Reveal)

    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash.

    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select

              Go Go to Folder...

    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • by ry.N,

    ry.N ry.N Apr 15, 2015 5:25 PM in response to Linc Davis
    Level 3 (820 points)
    Apr 15, 2015 5:25 PM in response to Linc Davis

    OK, I did just that. I will let you know if that solves anything. What does that exactly do anyway? Mind you this CPU hog comes on randomly. So I'm not able to reproduce it on command. But thanks for your help and I'll keep you posted!

  • by Linc Davis,

    Linc Davis Linc Davis Apr 15, 2015 5:34 PM in response to ry.N
    Level 10 (207,915 points)
    Applications
    Apr 15, 2015 5:34 PM in response to ry.N

    It removes an automatically-generated cache file that may have become corrupt. The file will be regenerated automatically when needed. It doesn't contain any of your data.

  • by J.Kleist,

    J.Kleist J.Kleist Sep 6, 2016 4:54 PM in response to ry.N
    Level 1 (4 points)
    Sep 6, 2016 4:54 PM in response to ry.N

    This gave me the clue to fix the problem with securityd running with >50% CPU. When I checked on the Mac Mail application, I noticed that one of my accounts was offline and and Mail was continually retrying the connection. After updating the account information and re-connecting, Mail successfully connected to the mail server and securityd returned to <1% CPU.

     

    Thanks!