This is a Finder Sync extension.
To stop the process:
Disable the check box in system preferences
Log out and back in (or restart if you have more than one user logged in to your Mac)
In OS X, the Finder Sync extension point lets you cleanly and safely modify the Finder’s user interface to express file synchronization status and control. Unlike most ...
From launchctl's man page (apple seem to have misplaced the man pages so an external one is here https://www.unix.com/man-page/osx/1/launchctl/)
launchctl bslist lists "Mach bootstrap services "
To get all jobs loaded into launchctl use sudo launchctl list
Daemons are not necessarily the former and other things but daemons are in the list
I've seen this too. Emacs 24.3.1, Mavericks 10.9.
I've found that the distnoted process calms down within seconds after I quit out of Emacs.
I've filed an Emacs bug here: http://permalink.gmane.org/gmane.emacs.bugs/80836
A service target is a service name plus a target domain, which describes the context in which the service runs, e.g. whether it runs at system startup or when a particular user logs in etc.
The launchctl(1) manpage describes 6 ways of forming a service target from a service name. If you want to disable a service that runs at startup, you probably want one ...
You typically want to use launchctl load -w and launchctl unload -w.
start and stop are usually reserved for testing or debugging a job.
launchctl start <label>: Starts the job. This is usually reserved just for testing or debugging a particular job.
launchctl stop <label>: Stops the job. Opposite of start, and it's possible that ...
Summary from the OP: This was a great tool for debugging. It originally pointed me to Spotlight reindexing the filesystem, but I narrowed down the things it's allowed to index, and I still saw the problem. I ended up setting up a cron job to kill distnoted regularly. See answer farther down.
You can debug distnoted by creating the file /var/log/...
I know I'm late to the party but this is a memory leak specific to Cocoa emacs on Mavericks that is fixed in the trunk. For now there is a patch you can use to build emacs 24.3 with just the fix.
Yes, LaunchAgents are only invoked when the user logs into a graphical session.
LaunchDaemons are typically launched when the system boots and are run outside of a specific user session.
The launchd manual page lists these folders with short descriptions:
~/Library/LaunchAgents Per-user agents provided by the user.
The Program key specifies the file to execute, & the ProgramArguments key specifies the arguments which will be passed to the executing process. Strictly speaking you can pass whatever arguments you want to a process, but the convention is that the first one should be the name by which the process was invoked, so most programs ignore their first argument....
EnableGlobbing doesn't work on OS X Yosemite 10.10. It has been deprecated (ref).
You can see in logs The EnableGlobbing key is no longer respected. Please remove it. (from /var/log/system.log)
The problem is that launchd cwd (current working directory) is /, so you can't use ./ like some people said.
To run a script from your home the simple way is to ...
I've been having the same problems with distnoted on El Capitan for some time. My solution isn't as harsh as killing it regularly, rather I check for it running out of control (high CPU usage), and then kill it. I use this script:
# check for runaway distnoted, kill if necessary
ps -reo '%cpu,uid,pid,command' |
The command sudo launchctl unload -w /System/Library/LaunchDaemons/ will force-disable all launch daemons in /System/Library/LaunchDaemons/ and add respective entries in a disabled.plist. The command – entered accidentally – doesn't affect the "unforced" load state of a system daemon but overrides any existing state (loaded/unloaded). Removing the disabled....
There's not much on the web as to what coreduetd does on a Mac other than "it's used for Handoff between iOS and macOS."
What is it doing?
It's keeping track of your various system and application states including states across your Apple devices.
Can it be disabled?
Technically, yes using launchctl. Though, I (highly) don't recommend doing so.
This is what I had to do:
Kill Core Sync.
I don't know if they'll come back the next time I reboot, but in an attempt to prevent that I also disabled the "Launch Agents" in com.adobe.AAM.Updater-1.0.plist and com.adobe.AdobeCreativeCloud.plist.
(Who in Adobe thought it was a good idea to spend CPU and ...
El Capitan adds a new security feature named System Integrity Protection (SIP). Among other things, SIP prevents parties other than Apple from adding, deleting or modifying directories and files stored in certain directories:
Apple has indicated that the following directories are available for developers to access:
EnableGlobbing enables tilde and wildcard expansion for ProgramArguments:
It doesn't affect Program or WatchPaths, however tilde expansion works in WatchPaths by ...
The default value is /, as in
The WorkingDirectory in a launchd .plist is an optional key used to specify a directory to chdir(2) to before running the job. If this key is not present, then the root / directory is used.
I verified this by running a shell script as ...
nfsd is invoked by launchd while booting by the accompanying com.apple.nfsd.plist file in /System/Library/LaunchDaemons/.
As you can see close to the bottom of the following picture,
it's only kept alive, when /etc/exports exists. If the path doesn't exist, nfsd will not run.
So removing /etc/exports will disable nfsd temporarily until the path is ...
A fresh system install, with default parameters is configured with the following system wide file limits:
Kernel Max Files: 12288
Max Files per Process: 10240
Current kernel sysctl parameters can be viewed with sysctl command:
$ sysctl -a |grep kern.maxf
Now let's check limits values, using ulimit command:...
I'd rather have this a comment, but for some reason I can only post answers.
Have a look at LaunchControl: http://www.soma-zone.com/LaunchControl/. While it does not offer a menu item to start/stop services it provides a list of all available launchd jobs, their current status and a way to start/stop them with the click of a button.
LaunchControl now ...
The cron daemon is managed with launchctl.
If you insist on restarting it, you have to unload and load the respective launch daemon:
sudo launchctl unload /System/Library/LaunchDaemons/com.vix.cron.plist
sudo launchctl load /System/Library/LaunchDaemons/com.vix.cron.plist
But: adding or removing arbitrary crontabs shouldn't require a reload of the daemon ...
For anyone who ends up on this page, I realized I should post the answer:
Using launchd instead of cron does indeed fix the authorization problem. Your user launchd jobs (which run only when you are logged in) correctly use the SSH agent information that was unlocked via your keychain as part of login (as part of standard OS X key management, no other ...
When you have problems to empty the trash, rm -rf ~/.Trash/* in the terminal does the job for you.
You have to keep in mind that there might be multiple .Trash directories.
For example on a USB stick or a external Drive, OSX will create another .Trash at the root of the drive. So you might need to use rm -rf /Volumes/DriveName/.Trash.*
In the shell, ulimit provides "control over the resources available to the shell and to processes started by it" (see man bash). Therefore, it applies only to the shell and its children. The limits for launchd are related to it and the processes that it manages. The two are separate.
Individual programs can set their own resource limits by calling the ...
You likely have an interaction between the SuccessfulExit and RunAtLoad keys. The launchd plist manual page mentions an inversion takes place if RunAtLoad is set
If true, the job will be restarted as long as the program exits and with an exit status of zero.
If false, the job will be restarted in the inverse condition. This ...
There are two steps to stopping GitHub Conduit: telling GitHub.app to not re-install the job with launchd and telling launchd to not run it anymore.
Disable Conduit installation:
defaults write com.github.GitHub GHShouldDisableConduit -bool yes
Remove launchd job:
launchctl remove com.github.GitHub.Conduit
The first few lines should be
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Your file (as well as the one in the linked answer) is missing the <plist version="1.0"> part.
this is a terminal alias/command I use that prevents any Adobe stuff running in the background:
alias nothankyouadobe="sudo -H killall ACCFinderSync \"Core Sync\" AdobeCRDaemon \"Adobe Creative\" AdobeIPCBroker node \"Adobe Desktop Service\" \"Adobe Crash Reporter\";sudo -H rm -rf \"/Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist\" \"/Library/...