Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launchd timeout messages




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 (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

References: 
 >Launchd timeout messages (From: "Tom Fortmann" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.