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.
20
questions with no upvoted or accepted answers
8
votes
0
answers
3k
views
What is `knowledgeconstructiond` doing?
Just installed Ventura on a 2017 macbook pro 15", and for the last 10 minutes or so a daemon called knowledgeconstructiond has been using sizeable but not problematic amounts of CPU. Was curious ...
5
votes
0
answers
256
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 ...
4
votes
0
answers
1k
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 ...
4
votes
0
answers
3k
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.
...
3
votes
0
answers
660
views
Guide on removing unused Agents and Daemons to speed up MacOS
Can you point me to a good guide on spotting and getting rid of running Agents, Daemons and Processes that aren't useful to me anyway and are taking up memory and CPU cycles?
2
votes
0
answers
579
views
errSecInternalComponent when using codesign from within a daemon
I have my own running daemon application that listens to a network port and executes some different commands based on the coming request. All is working fine except when trying to execute the ...
2
votes
0
answers
400
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 ...
2
votes
0
answers
57
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 ...
2
votes
0
answers
58
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
0
answers
17
views
S3 lauchctl error input/output. Boot doesn't mount S3 bucket
My script to mount an S3 bucket works fine, but mount at boot is not working. I tried launch daemons on macOS Sonoma, compiling with this plist. Here is the code:
<?xml version="1.0" ...
1
vote
0
answers
216
views
Why are my LaunchDaemons disappearing after reboot in Mac OS Catalina?
I've got a group of launchds which I've been using across a dozen OS versions in Mac. These do various things (such as shut off TimeMachine for parts of the day when the system is most heavily used, ...
1
vote
0
answers
810
views
How to know what `nsurlsessiond` is downloading
I have nsurlsessiond downloading at about 1.5 MB per second for a full day now, making other internet activities on my laptop less responsive. I tried killing the nsurlsessiond but it just comes back ...
1
vote
0
answers
128
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
0
answers
382
views
Possible method to mount a Linux SMB share on macOS Ventura before user login
I am trying to mount a Linux SMB share onto a macOS machine running Ventura 13.4. I must have the share mounted after the macOS machine bootup is completed, but before any possible user has logged ...
0
votes
0
answers
152
views
macOS - run bash script when specific URL is clicked
Is it possible to write an AppleScript or macOS service/daemon to detect when a URL is clicked (which would launch the browser) and run a bash script as well/instead? Use case: detect when github.com ...