Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
2answers
52 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 ...
3
votes
1answer
252 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 + ...
2
votes
1answer
427 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 ...
10
votes
2answers
2k 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
50 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 ...
1
vote
1answer
140 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 ...
6
votes
2answers
245 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. ...
1
vote
1answer
1k 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
78 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
214 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
1answer
259 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 ...
2
votes
0answers
637 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
4k 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
52 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 $ ...
7
votes
1answer
552 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
497 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
4k 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
377 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 ...
35
votes
7answers
91k 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
231 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 ...
7
votes
1answer
6k 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?
21
votes
1answer
20k 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
1k 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 ...
1
vote
0answers
149 views

Is it possible to run Xquartz in the background

I have installed the recent version of xquartz on OSX 10.11.6. I would prefer to run the x-server in the background, e.g. as a daemon. From a user point of view I do not want to Cmd+Tab to the x-...
27
votes
3answers
32k 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
43 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 ...
15
votes
2answers
4k views

What is the 'deleted' daemon in macOS Sierra?

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?
20
votes
8answers
44k 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
34 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
906 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
332 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 ...
2
votes
0answers
38 views

How should daemons tell users about errors?

I wrote a bash script that backs up certain files on my computer. To automate the running of the script, I set up an associated daemon that runs the script every day. There are certain instances ...
1
vote
2answers
311 views

Why do many processes use the letter “d” at the end of the process name? [closed]

Just recently started getting into OS X/iOS development and noticed several files have a "d" at the end. I.e launchd, accountsd, cloudd, assistantd, etc.. Not all have it just some. Just a quirky ...
4
votes
3answers
7k views

What is “usernoted” and why is it eating my CPU?

For the past couple of weeks, a process identified as usernoted appeared to "take over" my machine after a few hours of use, eating over 99% of available CPU. Force quitting the process doesn't help; ...
1
vote
1answer
5k views

What is coupond?

I restarted my Mac, running El Capitan, and got a pop up asking whether I wanted to allow "coupond" to accept incoming network connections. I said no. I rebooted and got the message again. I have no ...
0
votes
1answer
890 views

Running Postgres as Launch Daemon

I am working on setting up a psql server and would therefore like postgres to run whenever the computer is on, regardless of whether I'm logged it. (The machine is running OS X Yosemite.) I set up a ...
0
votes
1answer
3k views

mtrecorder and spirecorder, what are they?

I've run a EtreCheck on my OS X 10.10.3 just now and I got some error messages. Problem System Launch Daemons: [failed] com.apple.mtrecorder.plist Launch Daemons: [failed] com.apple....
6
votes
1answer
4k views

What is nfsd on macOS?

I have two questions regarding nfsd on OS X: What is managing the start/stop phase of this daemon? Launchd? It has an enable and disable mode, but I don't know what does this do. What is the default ...
0
votes
1answer
973 views

Mac OSX : How to protect daemon process from stopping by root/admin

I've a security daemon which performs many security related tasks. Daemon plist is part of /Library/LaunchDaemon/com.xyz.securityservice.plist also KeepAlive flag is 1. The daemon I've currently can ...
0
votes
1answer
758 views

Programmatically catch app opening / closing

Is it possible, via an AppleScript, a background service or daemon, or any other programmatic way, to catch the following events: a specific app (eg Aperture, Excel ...) being launched, an app being ...
0
votes
0answers
300 views

Programs running in background mac

I suspect my Macbook Pro has been hacked by sophisticated hackers who may have even customized some special malware for my computer. Is there anyway to tell from looking at the MacBook Pro Activity ...
15
votes
4answers
74k views

What is “secd”?

I wonder what secd process does under OSX Yosemite. I am pretty sure I have seen this process running in earlier MacOS versions, but I don't remember it gobbling up all the available memory so boldly.....
1
vote
1answer
2k views

What is process lsd on iOS?

There is a process running on my iOS device (7.1.2) called 'lsd'. The file is in /usr/libexec/lsd. What is it and what does it do? Device info: iPad 2 (7.2.1) Jailbroken
4
votes
1answer
1k views

Where does the OS X routing table come from?

Trying to find out where the initial routing configuration for OS X is stored (plist, or wherever), and what happens at startup to read that configuration and configure the network interface(s).
2
votes
2answers
10k views

Enable SMB sharing from command line

On OS X 10.8, using terminal commands, I'd like to enable SMB sharing as if I had ticked the following checkbox under System Preferences - Sharing - File Sharing - Options: I've tried the following ...
1
vote
1answer
2k views

Apple Push Notification Service: misbehaviour

On a new test iMac (running Mavericks 10.9.2) I discovered 2 repeated errors related to apsd (Apple Push Notification Service daemon). Repeated failing connections A netstat command displays a huge ...
8
votes
3answers
9k views

How do I start taskgated again?

I killed taskgated from the Activity Monitor and since then it is not been running. How do I start the process taskgated again?
1
vote
1answer
6k views

What is daemon user on mac?

I installed XAMPP on mac and it uses the user daemon. I have trouble accessing an external site that I have setup for which I am getting "Access Denied" error. This is likely because daemon user does ...
1
vote
1answer
1k views

Can I run a torrent client + Plex Media Server as “services”?

I'm using an old iMac as a torrent client & Plex Media Server. But I would like those to run as "services", i.e., not as part of a User account, and without having to log in.
0
votes
1answer
687 views

on-demand launch agent restarting automatically

As title says I have created a on-demand launch agent that listens to socket and is launched on incoming connection. It works well and after it has done it's job I want to quit it. After quitting ...