Fix com.apple.launchd.peruser Crash Loop on macOS
This error indicates a per-user launchd process is repeatedly crashing due to a faulty plist or system corruption. Follow these steps to diagnose and resolve the crash loop.
Symptoms
- Repeated pop-ups or system logs showing "com.apple.launchd.peruser" crashing
- High CPU usage by launchd processes
- System instability, slow performance, or unresponsive apps
- Console logs filled with "exited with code: 1" or "signal: 6" for user agents
Root Causes
- Corrupt or misconfigured user LaunchAgent plist – A plist file in ~/Library/LaunchAgents/ or /Library/LaunchAgents/ may have syntax errors or reference missing executables.
- System file corruption – Damaged system files or permissions can cause launchd to fail.
- Third-party software conflicts – Antivirus, VPNs, or system utilities may interfere with launchd.
- Hardware or NVRAM issues – Rarely, corrupted NVRAM or SMC settings cause instability.
Step-by-Step Fix
Step 1: Identify the Culprit Plist
- Open Console app from /Applications/Utilities/.
- In the search bar, type
launchdand filter by Errors and Faults. - Look for messages like
(com.example.app) Exited with code: 1– note the label (e.g., com.example.app). - Search for that label in
~/Library/LaunchAgents/and/Library/LaunchAgents/to find the plist.
Step 2: Disable the Faulty Plist
- Open Terminal.
- Backup the plist:
cp ~/Library/LaunchAgents/com.example.app.plist ~/Desktop/ - Remove it:
rm ~/Library/LaunchAgents/com.example.app.plist - Unload if currently loaded:
launchctl unload ~/Library/LaunchAgents/com.example.app.plist - Reboot and check if crashes stop.
Step 3: Repair System Permissions (macOS Catalina and earlier)
- Boot into Recovery Mode (Cmd+R at startup).
- Open Terminal from Utilities menu.
- Run:
diskutil resetUserPermissions / $(id -u) - For system permissions:
diskutil repairPermissions /(if available).
Step 4: Reset NVRAM and SMC
- Intel Macs: Shut down, then press Option+Cmd+P+R at startup for 20 seconds. For SMC, see Apple support.
- Apple Silicon (M1/M2): NVRAM reset is automatic; shut down and wait 30 seconds.
Step 5: Safe Mode Boot
- Restart and hold Shift key until login appears.
- In Safe Mode, launchd loads only essential plists. If crashes stop, a third-party plist is the cause.
- Exit Safe Mode and systematically disable plists in LaunchAgents folders.
Alternative Fixes
- Create a new user account – If crashes are user-specific, migrate data to a new account.
- Reinstall macOS – Use Recovery Mode to reinstall without erasing data (preserves files but replaces system files).
- Use EtreCheck – Third-party tool to scan for problematic launch agents and system issues.
Prevention
- Regularly update macOS and all third-party software.
- Only install trusted apps from the App Store or verified developers.
- Periodically review and clean LaunchAgents folders using Terminal or tools like LaunchControl.
- Maintain regular backups with Time Machine to quickly revert if a plist causes issues.
Additional Resources
For further details, consult Apple's official documentation on Console and launchd plist creation.
Was this solution helpful?