On Oct 20, 2008, at 15:52 , Tom Fortmann wrote:

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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to