Questions tagged [daemons]

macOS, which is a Unix system, uses daemons. A daemon is a computer program that runs as a background process, rather than being under the direct control of an interactive user.

Filter by
Sorted by
Tagged with
0
votes
0answers
42 views

What is the CategoriesService daemon doing?

The CategoriesService daemon by Apple is trying to connect to the internet as shown by the Lulu firewall on my Mac. I have not found any information about this daemon online and would like to know ...
1
vote
1answer
121 views

What is local.blackjack from Netstat?

When running netstat I noticed the suspicious name blackjack. I wonder if it's malware. PROMPT> netstat -v Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address ...
5
votes
2answers
160 views

Does trustd leak information about users' software usage to Apple and/or third parties?

When discussing a recent outage of Apple's OCSP server, people on various Twitter accounts (in the threads following this tweet) and "fefe's blog" claimed that the way trustd works on macOS ...
0
votes
0answers
16 views

Launchd continues despite everything

I have a problem with launchd, I created a LaunchDaemon at the time, it didn't work and I then deleted it without unloading it. When I was watching the launchd timeouts with tail -f /var/log/system....
0
votes
0answers
82 views

Fresh Catalina install (10.15.6) generates flood of diskarbitrationd and deleted daemon messages. How to stop them?

Since doing a fresh install of Catalina (10.15.6) last week, my machine's Console has been flooded with messages from the deleted daemon and diskarbitrationd. The deleted daemon is consuming ...
2
votes
1answer
71 views

Reinstall Cups after unloading/removing its LaunchDaemon

On one of our laptops, we had popups about printer settings update 200 times per day. It was getting really annoying and so without thinking about it enough, I've unload and remove cups service. sudo ...
1
vote
1answer
90 views

Launch Daemon for NodeJS App Won't start on reboot

I've created the below launch daemon to run a nodejs program on startup (tiddlywiki in this case): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//...
0
votes
1answer
398 views

How to prevent process / daemon from running on macOS?

I installed an app called "ShadowsocksX-NG" and then whenever I restart my computer, /Users/admin/Library/Application Support/ShadowsocksX-NG/ss-local -c ss-local-config.json will be running in the ...
1
vote
1answer
75 views

Launchd plist runs everyday instead of only weekends

Scenario: I need to force a reboot as a Launch Daemon at a specific time only on Saturdays and Sundays. Output The reboot command gets launched at the specific time everyday instead only on ...
1
vote
0answers
23 views

Mouse moves, but cannot click

My mouse just got stuck: I could still move the pointer, but clicks would not register. This occurred with both my external Magic Trackpad, and the laptop's internal trackpad, apropos of nothing. As ...
0
votes
1answer
133 views

Script to run Adobe Update Remote Manager as Launch Daemon at Boot without MDM

Scenario: I need to figure out how to run the /usr/local/bin/RemoteUpdateManager at DeepFreeze maintenance cycle. During this maintenance cycle, the computers will restart to the login screen and ...
4
votes
2answers
5k views

macOS Catalina: execute bash script on boot with launchctl

Before updating to Catalina (10.15.1) my agent based on a bash script was working perfectly. I had set the agent in order to execute the bash script on boot. Here is the plist file: <?xml ...
5
votes
0answers
138 views

How to prevent non-root load of a LaunchDaemon

I want to prevent a LaunchDaemon (/Library/LaunchDaemons/com.mycorp.service.plist) from being loaded by a non-root user. Running sudo launchctl load /Library/LaunchDaemons/com.mycorp.service.plist ...
15
votes
2answers
21k views

How do I start the docker daemon on macOS?

I am using macOS 10.14.6 and docker info shows me that the docker daemon is not running. How do I start the docker daemon from terminal? I have not found any information on doing so anywhere. On ...
3
votes
0answers
324 views

Append instead of overwrite log file by StandardOutPath and StandardErrorPath

I have a launchd job that periodically runs in the background. Any stdout and stderr output during the job is logged to some files set in the job's plist using the StandardOutPath and ...
2
votes
1answer
158 views

Are the results of Apple Photos processing shared between my computers?

I have a MacBook and and Mac mini with same Apple ID. My photo library size is 55,109 photos, 3,670 videos, 68 items. photoanalysisd has been running for 7 days on my MacBook. It doesn't appear to ...
4
votes
2answers
467 views

Where should a daemon started by launchd store its data?

When I develop UI application for OSX I store user's preferences and application config to ~/Library/Preferences/AppName.plist (using NSUserDefaults). But when I create global background daemon that ...
1
vote
2answers
711 views

IBM Trusteer Rapport… Daemons… Is rapportd part of Trusteer or an Apple MacOS Daemon?

Working here on problems arising from IBM Trusteer Rapport security software. Problem: Their daemon rooksd has 60,000 ports open; mac slowed to a crawl. Question: Is the daemon rapportd part of ...
3
votes
2answers
407 views

What are the various auto launch paths mean in OSX?

I'm trying to track down sneaky apps that launch upon reboot. They are not in System Preferences > Users and Groups > Login items and the in-app preferences for auto starting is disabled too for ...
4
votes
1answer
3k views

What are all these tvOS services?

I noticed Apple's tvOS broadcasting no less than 7 mDNS PTR-RRs (via Bonjour, I presume): + Apple TV._airplay._tcp.local + Apple TV._mediaremotetv._tcp.local + Apple TV._companion-link._tcp.local + ...
3
votes
1answer
2k views

High Sierra performance problems - efilogin-helper taking a lot of CPU

I have a stock 2015 15" MacBook Pro, i7 / 16GB / 512GB, still runs on High Sierra because I am contemplating to do a full clean install instead of an upgrade. Performance has been deteriorating to a ...
16
votes
3answers
4k views

How to access a launch daemon's values/ system defaults value

So I am trying to silence the "Your Disk is Almost Full" notification from a mac running Mojave, as right now it pops up way too frequently and it is so annoying. I followed all answers from this ...
1
vote
1answer
745 views

What is the best practice for a daemon application running as root that needs access to the GUI? [closed]

I'm porting over a C++/Qt application from Windows. On Windows, the program runs as a service. It's discouraged from programs running as a service to also interact with the user and display GUI ...
2
votes
1answer
999 views

Shove installed a launch daemon or agent popup window, what is it?

Please check the following screenshot: Today, I suddenly have this popup window warning. I have no idea what it is. Basically I have three questions. (1) Is this BlockBlock app warning? I have no ...
7
votes
2answers
548 views

Why can an app create daemons on the fly without sudo permission and how to stop it?

First, I come from Linux so there are many things which confuse me such as daemons. I installed VOX.app and it has some kind of agents and cloud-related processes which can be started automatically. ...
3
votes
1answer
5k views

Fine-tuning “Open safe files after downloading”

Is it possible to fine-tune the "Open safe files after downloading" setting in Safari? For example, to make Safari open files like ".ical" et. al., but not Zip-files. If macOS has no built-in support ...
2
votes
1answer
188 views

Cannot load rsync daemon in Sierra. Log shows: “assertion failed: 16G1408: libxpc.dylib”

I'm trying to start rsync --daemon on Sierra (10.12.6), using launchctl. It used to work fine (last time in Mavericks, I think). But now on Sierra, the daemon does not start and grep rsync /var/log/...
2
votes
2answers
742 views

Difference between System and Global Daemons

According to the Launchd Tutorial, there are two places where a daemon can be. A global daemon located at /Library/LaunchDaemons A system daemon located at /System/Library/LaunchDaemons What is the ...
2
votes
2answers
2k views

Getting error in Terminal when typing Passwd *Username*

I’ve been trying to change the root password via Terminal on macOS. I launched Terminal by holding cmd + S while booting, which logged me automatically in as root without password. When I type in ...
5
votes
0answers
2k views

What is the touristd process doing when it downloads ~14MB on each boot?

I've noticed on my MacBook Air (early 2015 edition, macOS 10.13.3) that there is a certain 'touristd' process that launches when I turn on the computer, downloads about 14.2MB of data, then exits. ...
1
vote
2answers
9k views

Make sysctl changes at startup

I'd like to change the default smb settings at startup to remove timeouts. I have the following script; #!/bin/sh sysctl net.smb.fs.kern_deadtimer=0 sysctl net.smb.fs.kern_hard_deadtimer=0 sysctl ...
2
votes
1answer
74 views

What is the name of the Subversion server process on MacOS?

I'm running a Subversion server on MacOS. My remote IDEs connect no problem (using ssh tunneling). But, I can't figure-out the process name of the Subversion server. It is so easy: $ mkdir svnroot $ ...
9
votes
1answer
863 views

How to disable the “locate” command in Mac OS?

According to this article, I can use this command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist To enable "locate" command to find files. However, recently I find this ...
0
votes
1answer
923 views

How to run httpd on macOS without Apache [closed]

I'm trying to build a BCHS application. I do have a remote server running OpenBSD, but the network latency is killing me, so I decided to develop on my MacBook Air and deploy to the OpenBSD server ...
4
votes
1answer
12k views

What is mediaremoteagent under Activity Monitor?

Under activity monitor there's a process called mediaremoteagent. I can't find any information about this process. What is this process and is it safe to disable it?
1
vote
1answer
658 views

LaunchDaemon loading but not starting

I created a LaunchDaemon to automatically start a mining client when the computer boots. Here is the .plist file: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD ...
61
votes
7answers
201k views

What is rapportd and why does it want incoming network connections?

I've just updated to the latest MacOS 10.13.2 and after restarting, my machine asked me to allow incoming network connections for "rapportd". After blocking it and checking in the firewall config, I ...
2
votes
0answers
333 views

Disable Launchd based daemon sudden termination upon shutdown

I'm running my own daemon under macOS Sierra and High-Sierra, and get unexpected behavior upon shutdown. according to the manual of daemon life cycle, it says that ... If the system is being shut ...
22
votes
5answers
12k views

MirrorDisplays error every 30 seconds in system.log

I'm seeing an error every 30 seconds in the system log, using the Console app, complaining about MirrorDisplays service only running for 0 seconds. Nov 5 22:45:22 computer com.apple.xpc.launchd[1] (...
9
votes
1answer
13k views

What is “hidd”?

I tried to find some details about the daemon hidd but only found information about a Linux daemon where it is the human interface device daemon. Is this the same function in macOS?
27
votes
1answer
31k views

What is touristd?

In macOS Sierra there is a new daemon touristd. What is touristd and what is it used for?
2
votes
1answer
2k views

How to make mosquitto broker auto-start on Mac OS (without homebrew)?

I understand that using homebrew, a plist file will be provided and a user can use launchctl to install that plist file. But, I am not using homebrew(nor macport). I built mosquitto binaries directly ...
32
votes
3answers
50k views

What is parsecd?

The internet is not very satisfactory when it comes to this question, I found one somewhat related question here where someone says allowing parsecd internet access via Little Snitch made their ...
1
vote
0answers
50 views

Where to find documentation for apple services (agents, daemons) and status codes?

I have looked all over the place with incredible frustration - what should be basic information I can't find anywhere. Whatever I do find, is single items of information (and not what I was looking ...
45
votes
5answers
32k views

What is the 'deleted' daemon in macOS?

Since installing macOS 10.12 I noticed a flood of messages from deleted in the logs. I haven't been able to find any information about this daemon. Could anyone enlighten me what this does?
4
votes
1answer
550 views

Is there a way to throttle nsurlsessiond/cloudd?

I have been looking for a way to permanently throttle these two processes. By default, they are all or nothing processes killing my network connection unless I manually "pause uploads" for iPhotos (...
45
votes
8answers
97k views

How to restart Bluetooth service from command line

On Linux, if one wishes to restart the Bluetooth service, they simply launch a terminal and issue the following command: sudo /etc/init.d/bluetooth restart What is the equivalent on Mac OS X? I ...
0
votes
0answers
38 views

Configuring application servers to run as service daemons?

Mac 10.9.5 here. I am trying to figure out how to configured my machine to run an executable (Java) app as a service/daemon, so that it is always running so long as the machine is on. Hence, this app ...
2
votes
2answers
2k views

How do I kill a daemon and not have it open up again if I can't find it in the LaunchAgents or LaunchDaemons?

So I think I downloaded a program from Avatron called Airconnect. I'm not sure, but their website was purple when I looked it up. Anyway, now everytime I check my activity monitor, com.avatron....
0
votes
1answer
475 views

Launchd based daemon exit with abnormal code 1, without crash log

I've seen many questions that relate to specific daemons/applications that exit on this same exit code (=1). All scenarios seems unique and unconnected. I created a daemon of my own, and also got the ...