1 2 3 4 Previous Next 53 Replies Latest reply: Jul 11, 2013 5:34 PM by jessefromsanta barbara
hamster116 Level 1 Level 1 (0 points)

Since updating to 7.2 I have a weird issue with a process called ubd. It has a huge and constant cpu load of between 50-99%. This generates a lot of extra heat and fan noise to accompany that. Quitting the process or rebooting doesn't help.

 

I read somewhere that the process is iCloud related, but I tried disabling some iCloud services but that didn't seem to help either.

 

The console displays these lines all the time:

16/10/2011 12:14:35.122 ubd: createSelfSignedCertificate - _createCert returned -25295

 

and after about 6 tries it exits with code: 254 and starts again.

 

I guess this isn't really normal, does anone know what might be up or how to fix this?


MacBook Pro, Mac OS X (10.7.2)
  • 1. Re: 'ubd' process huge cpu load
    putnik Level 3 Level 3 (690 points)

    Here is a link about the ubd process.  Maybe the log file will give you information about your particular usage?

     

    http://www.macinside.info/process.php?name=ubd

  • 2. Re: 'ubd' process huge cpu load
    vaguebond Level 1 Level 1 (0 points)

    I'm having exactly the same problem.. but somehow worse. My MBP 13' heats until it crashes. This 'ubd' process is killing it. It's related to iCloud and it's services. I thought iCloud is not in beta anymore, but it seems it's still buggy. I would downgrade if I could.

     

    If you have any suggestions, please let us know.

  • 3. Re: 'ubd' process huge cpu load
    Dirk43 Level 1 Level 1 (0 points)

    I have the same issue with the UBD process.  I am running on 2011 15" MBP.  I get a different message in the console but the same problem with the cpu utilization and the excessive heat both being an issue.  This is what I get in my console:

    10/16/11 7:47:38.991 PM com.apple.launchd.peruser.502: (com.apple.ubd[423]) Exited with code: 254

     

    I am curious, did you have the developer version of 10.7.2 installed on your system at any point in time or is this issue as a result of the official update pushed out by Apple?

     

    Thanks

  • 4. Re: 'ubd' process huge cpu load
    Dirk43 Level 1 Level 1 (0 points)

    I don't see this log file on my system.  Anyone else able to find it?

  • 5. Re: 'ubd' process huge cpu load
    hamster116 Level 1 Level 1 (0 points)

    I found that my keychain is a mess, it contained around 1600 items starting with com.apple.ubiquity.

     

    Cleaning up the items was impossible until I locked my keychain, but upon unlocking ubd started adding new items again.

     

    I just found a fix, though. There is a certificate (not a key) in my keychain called 'com.apple.ubiquity.peer-uuid", which was marked as untrusted. I opened it's info dialog and set it to "always trust". That seemed to work, although I do not know if there is other implications for me doing that. Now the ubd proces is still active, but runs at a nice 0.0% CPU.

     

    I also went to the keychain preferences and clicked "reset my default keychain", this might have helped fix it as well, but I think it's the certificate thing.

     

    Hope this helps!

  • 6. Re: 'ubd' process huge cpu load
    hamster116 Level 1 Level 1 (0 points)

    No dev versions here, just the official ones.

  • 7. Re: 'ubd' process huge cpu load
    vaguebond Level 1 Level 1 (0 points)

    This did the trick! Thank YOU!

     

    I don't know what I've lost by resetting to default keychain, but the MBP is back to quiet operations as before.

     

     

     

     

    @ Dirk43 P.S. I found the certificate after resetting the keychain though. Before I could't find it either.

  • 8. Re: 'ubd' process huge cpu load
    Dirk43 Level 1 Level 1 (0 points)

    Any idea how I can delete this keychain?  I can't get into "Keychain Access" as I get the spinning beach ball of death.  Somehow I managed to get 44k items in there.  I let keychain access run for a while, but it just ends up using 3gb of memory before I get ****** and force quit.  Any ideas?

     

    I have already tried to repair it and fix the cert from another admin user account.

     

    Thanks

  • 9. Re: 'ubd' process huge cpu load
    hamster116 Level 1 Level 1 (0 points)

    Try ~/Library/Keychains

  • 10. Re: 'ubd' process huge cpu load
    Mixel Level 1 Level 1 (0 points)

    I've tried all these fixes.. Approving the certificate, resetting the keychain, deleting the keychain entirely, logging out of or disabling iCloud services. It's still coming back and doing the same.

     

    Is backing up and nuking my lion partition going to be the only solution? This is pretty frustrating. :(

  • 11. Re: 'ubd' process huge cpu load
    devinreams Level 1 Level 1 (0 points)

    hamster116 wrote:

     

    There is a certificate (not a key) in my keychain called 'com.apple.ubiquity.peer-uuid", which was marked as untrusted. I opened it's info dialog and set it to "always trust".

     

    Good eye. I noticed the extra keychain entries but didn't think to 'trust' the certficiate. Though this has not resolved the issue of ubd spiking CPU usage and more certificates/keys being created (no matter how many I "trust").

     

    FWIW: you can tail your ~/Library/Logs/Ubiquity/{username}/ubiquity.log and see the certficiate errors every few seconds.

    [ERROR]     5041c5de5e10 [11/10/17 16:35:56.047]  13116.main copy_mme_bag:156 copyPreferredMobileMeName failed

    [ERROR]     5041c5dfac36 [11/10/17 16:35:56.047]  13116.main ubd_main:2030 null personid

    [ERROR]     5041c70a0399 [11/10/17 16:35:56.067]  13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching

    [ERROR]     5041c79acafc [11/10/17 16:35:56.076]  13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching

    --[ERROR]     50422bafc893 [11/10/17 16:35:57.755]  13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching

    [ERROR]     5042825ac3de [11/10/17 16:35:59.209]  13116.main createSelfSignedCertificate:52 error: Error Domain=NSOSStatusErrorDomain Code=-25299 "The operation couldn’t be completed. (OSStatus error -25299.)" ( / The item already exists.)

    [ERROR]     5042825ff022 [11/10/17 16:35:59.209]  13116.main create_new_identity_unsafe:989 failed to find an existing identity and failed to create a new one

    [ERROR]     5042be133f3f [11/10/17 16:36:00.211]  13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching

    [ERROR]     5042e63362ea [11/10/17 16:36:00.884]  13116.main createSelfSignedCertificate:52 error: Error Domain=NSOSStatusErrorDomain Code=-25299 "The operation couldn’t be completed. (OSStatus error -25299.)" ( / The item already exists.)

    [ERROR]     5042e634918f [11/10/17 16:36:00.884]  13116.main create_new_identity_unsafe:989 failed to find an existing identity and failed to create a new one

    [ERROR]     504321ee3444 [11/10/17 16:36:01.886]  13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching

    [ERROR]     50440def58e3 [11/10/17 16:36:05.846]  13116.main createSelfSignedCertificate:52 error: Error Domain=NSOSStatusErrorDomain Code=-25299 "The operation couldn’t be completed. (OSStatus error -25299.)" ( / The item already exists.)

    [ERROR]     50440df08e7a [11/10/17 16:36:05.846]  13116.main create_new_identity_unsafe:989 failed to find an existing identity and failed to create a new one

    [ERROR]     504449a35eb8 [11/10/17 16:36:06.847]  13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching

    [ERROR]     5044a1993f0e [11/10/17 16:36:08.323]  13116.main createSelfSignedCertificate:52 error: Error Domain=NSOSStatusErrorDomain Code=-25299 "The operation couldn’t be completed. (OSStatus error -25299.)" ( / The item already exists.)

    [ERROR]     5044a19a6e77 [11/10/17 16:36:08.323]  13116.main create_new_identity_unsafe:989 failed to find an existing identity and failed to create a new one

    [ERROR]     5044dd4c1e33 [11/10/17 16:36:09.325]  13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching


  • 12. Re: 'ubd' process huge cpu load
    goodfield Level 1 Level 1 (0 points)

    Had the same issue ... after 3 hours i did a rm -r Mobile* in ~/Library/Application Support. Be careful i think there was an directory from MobileMe and one calles Mobile Sync ... i don't really know which one was the evil, but i think it was the Mobile Me directory.

  • 13. Re: 'ubd' process huge cpu load
    kitsonk Level 1 Level 1 (0 points)

    I "had" a similair issue.  I had enabled iCloud and things went fine, but I think the problem came in when I tottled off to a WiFi access point that required authentication prior to connecting to the Internet, using redirects.  Then essentially any SSL connection (including redirection to the click to accept redirect site) was becoming unavailable.  I took a look at my keychain and that was locked.  So I forced quit and rebooted and I noticed there were a large amount of com.apple.ubiquity* keys, a invalid self signed cert and an "Unknown" cert.  After a few moments my keychain locked up again and required a forcequit and reboot.

     

    I eventually got a bit of breathing room by going into a VMWare VM and accepting the T/C of the WiFi access and then rebooting one more time.  After that I cleaned up my keychain, signed out of iCloud and haven't had a problem since.

     

    My suspect is that iCloud tries to do it's security measures at startup, trying to generate some self signed certs, but needs something from the "internet" to generate them/validate them and then doesn't handle the redirection bad, locks the Keychain and causes all sorts of havoc.

     

    My only solution was to disable iCloud and clean up my keychain.

  • 14. Re: 'ubd' process huge cpu load
    AKEH Level 1 Level 1 (15 points)

    My keychains are also rather a mess since the upgrade to iCloud. I would like to clean them up, but don't know which certificates I can safely delete.

    I have an unknown keychain, a number of com.apple.ubiquity keys (one has ssl in front of the name) which aren't trusted. Can these be deleted? Or should I set the computer to trust these?

    If I delete a keychain the computer needs, will it download/ make it again? Or can I restore it from the time machine?

     

    I also have some expired keychains (nothing to do with iCloud). Can I delete these?

1 2 3 4 Previous Next