Dropbox causing numerous opendirectoryd errors in macOS logs

Do you run Dropbox? Find your machine slow sometimes or Dropbox seems to sync endlessly? Do you see thousands of these errors appearing every second in your console? default 13:59:07.681294 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.681367 -0400 opendirectoryd disconnect module connection default 13:59:07.685796 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.685906 -0400 opendirectoryd initiating reconnect of module connection default 13:59:07.686320 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.686414 -0400 opendirectoryd queuing request to connection - '' default 13:59:07.686648 -0400 opendirectoryd queuing request to connection - '' default 13:59:07.687319 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.687440 -0400 opendirectoryd disconnect module connection default 13:59:07.687976 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.688072 -0400 opendirectoryd initiating reconnect of module connection default 13:59:07.688401 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.688467 -0400 opendirectoryd queuing request to connection - '' default 13:59:07.688569 -0400 opendirectoryd queuing request to connection - '' default 13:59:07.689038 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.689166 -0400 opendirectoryd disconnect module connection default 13:59:07.689255 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.689362 -0400 opendirectoryd initiating reconnect of module connection default 13:59:07.689655 -0400 opendirectoryd Client: , UID: 0, EUID: 0, GID: 0, EGID: 0 default 13:59:07.689710 -0400 opendirectoryd queuing request to connection - '' default 13:59:07.689798 -0400 opendirectoryd queuing request to connection - '' These issues might be the result of having dead symlinks in Dropbox. Removing the dead symlinks may resolve the issue, it did for me. To find dead symlinks, in terminal, navigate to your Dropbox Folder, from with the root ~/Dropbox folder run this cli command: find ./ -type l -print0 | xargs -0 file | grep broken This command will simply search for all links within the directory tree you are in, and then filter using grep to show only links that are broken. Source: https://superuser.com/questions/350879/opendirectoryd-consumes-40-of-cpu