What would cause a launchd-initiated process to respawn too quickly? My
system.log is receiving lots of:
Mar 29 09:59:59 GWhiz launchd: Log-notify: respawning too quickly!
throttling
Mar 29 09:59:59 GWhiz launchd: Log-notify: 1 more failure without living
at least 60 seconds will cause job removal
Mar 29 09:59:59 GWhiz launchd: Log-notify: will restart in 10 seconds
As the message suggests, launchd is expecting your script to live for more than 60 seconds, and it isn't :)
Try adding "sleep 60" to the end of your script.
Note: This probably shouldn't happen if you're starting your script with the StartInterval key in your launchd config file - could you post that?
Cheers,
-geoff
Log-notify is a script of my own. The obvious thought is that I've made
an error in the script, but what sort of error would cause respawning
too quickly?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
______________________________________
Geoff Lee <email@hidden>
Computing Support
School of Arts, Culture and Environment
University of Edinburgh
20 Chambers St,
Edinburgh, Scotland,
EH1 1JZ
Tel: +44 (0)131 650 2341
______________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden