You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

'ubd' process huge cpu load

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)

Posted on Oct 16, 2011 3:28 AM

Reply
53 replies

Nov 11, 2011 2:24 PM in response to hamster116

Try the following:

- open your Keychain

- search for items with 'peer-uuid' in their name

- if there are a lot and you notice that their amount is growing then

- lock your session keychain

- select all items containing such 'peer-uuid' string in their name and delete them


Then


1/ drag your Preferences Folder to the desktop

2/ close your session

3/ reopen your session


The problem shall be gone

Nov 11, 2011 7:35 PM in response to hamster116

I tried the above suggestion to no avail. I had this pop up only under 1 of 2 managed accounts. I logged out the user, then logged the user back in. When I did that I received a keychain popup asking for the keychain password, or create a new keychain.


Once I hit, "Create New Keychain", then logged in, the pop up stopped.


Hope this helps someone

Dec 17, 2011 2:55 PM in response to hamster116

Thanks to all of your post, I found the problem. the rights of the folder ~/Library/Application Support/Ubiquity/ was incorrect. The owner was the root, I change it to me. After the ubd process manage to create content inside of it.


I think you may can just delete "ubd" from =>/System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Support/ubd

I did it. It`s working for me. But I don`t know if any problem may happen because ubd was killed.

So I backup "ubd" prevent I need it again... : )


I have found that while going to the ~/Library/Application Support/Ubiquity/ directory and yes changing it from root to another user, you can also lock that file down, or folder.


You can delete the contents in ~/Library/Application Support/Ubiquity/ before using secure delete, then locking it down.


I did also delete the ubd file in /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Support/ubd

dire and changed the user to no access or read only. Alwase back up something your not sure you should delete.


Then going into keychain again Deleteing the untrusted certificates, change the settings to Lockdown.

So far so good...


To think like a hacker is the only way to defend against a hacker. They though have the intent to do so.


I am now learning the Directory Utility and each reference it has and what it should look like.


Surprised as I am I didnt even think about researching ubd or the unknown or ect before doing any of this, its quick and painless, and it seems good that the RED x is just not there.



This is what worked for me... hope it helps...


This should be done on all user accounts.



Think the best way is to trust yourself in what would work best, I took the best workarounds on this thread and on others, reseached tech meanings, and trusted.


Why you feel this way about it is the reason for thier intent. Empty.

Jan 14, 2012 3:49 AM in response to diglin

Thanks for your post. This was the solution for me.


I just opened the Terminal and changed the directory to Application Support with:


cd Library/Application\ Support/


I listed the content of the directory with the command:


ls -l


and then I saw that the directory Ubiquity was owned by the user 'root' with the group 'admin':


drwxr-xr-x@ 7 root admin 238 14 Jan 10:11 Ubiquity


With the following command I changed the owner of the direcotry to myself:


sudo chown donbilbo:admin Ubiquity


Notice that you have to replace donbilbo with your own username! The sudo is needed because you change the owner from root to yourself. After typing in a command with sudo you have to enter your passwort to get system privilegs to change a directory which is owned by root.


After changing the owner of the directory the ubd process just added 1 key to the keychain and the ubd process is ok with 0.1 percent cpu load.


Big thanks to diglin!

Jan 15, 2012 5:10 AM in response to hamster116

Muchas , pero Muchas gracias!! , esta falla me tenía muy preocupado, pero efectivamente ingresando a Acceso a llaveros , luego Preferencias de Acceso a llaveros y restaurando en la pestaña General

"Restaurar mi llavero por omisión"

hamster116 wrote:


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!

User uploaded file

User uploaded file

Jan 20, 2012 6:35 AM in response to donbilbo

ENG.


Greetings I have made your recommendations and the fault persists, ubd is swallowed processor performance.
If you have any suggestions I appreciate it.


drwxr-xr-x@ 2 gogo admin 68 Jan 12 12:03 Ubiquity


Sampling process 698 for 3 seconds with 1 millisecond of run time between samples

Sampling completed, processing symbols...

Analysis of sampling ubd (pid 698) every 1 millisecond

Process: ubd [698]

Path: /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Support/ubd

Load Address: 0x102de2000

Identifier: ubd

Version: ??? (???)

Code Type: X86-64 (Native)

Parent Process: launchd [225]


Date/Time: 2012-01-20 09:33:01.350 -0500

OS Version: Mac OS X 10.7.2 (11C74)

Report Version: 7


gonzalogabriel


ESP.


Saludos he realizado tus recomendaciones y la falla persiste, ubd se traga el rendimiento del procesador.


Si tienes alguna sugerencia te lo agradezco.


gonzalogabriel

Jan 31, 2012 8:39 PM in response to mountainrivers

Hi there,


Just wanted to chime in I had the same issues with the massive CPU usage that was illustrated in the ubiquity.log in the Console. My process was given as 'securityd' in Activity Monitor.


At the moment, I've stopped the process from starting up by moving the /Library/Preferences in my user folder out and then restarting.


From there, I'm going to move back in all non-"com.apple.*" related preferences since this seems to be MobileMe->iCloud related. I will then incrementally add in Apple-related preferences into the folder again and see if I can nail down the offending file.

'ubd' process huge cpu load

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.