I need help debugging a problem with a long running daemon running
under
launchd. The daemon is being repeatedly killed and restarted. The
daemon
follows all of the rules for running under launchd. It is starting
successfully, but then receives a SIGTERM signal after a few seconds
(assumedly from launchd). At the same time I am also seeing
"com.xcapesolutions.mydaemon[3231]: timeout" errors in /var/log/
system.log
(again assumedly from launchd).
Try getting rid of the OnDemand flag since you're already using
KeepAlive.
Your daemon isn't generating those timeout errors itself?
FYI - I know this is a little off the Cocoa topic, but I didn't see
a more
appropriate developer list. If one exist please forgive the
intrusion and
point me in the right direction.
I usually post my launchd questions to the Darwin-dev list... the
developer
of launchd at apple is pretty active on that list and helps out quite
a bit.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden