• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Launchd timeout messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Launchd timeout messages


  • Subject: RE: Launchd timeout messages
  • From: "Tom Fortmann" <email@hidden>
  • Date: Mon, 20 Oct 2008 15:23:36 -0500

Jason,

Thanks.  I will try removing the OnDemand key.  If that doesn't work I will
report on Darwin-dev list.

Thanks again,
Tom

-----Original Message-----
From: Jason Coco [mailto:email@hidden]
Sent: Monday, October 20, 2008 3:14 PM
To: Tom Fortmann
Cc: email@hidden
Subject: 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.

_______________________________________________

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Launchd timeout messages
      • From: "Shawn Erickson" <email@hidden>
References: 
 >Launchd timeout messages (From: "Tom Fortmann" <email@hidden>)
 >Re: Launchd timeout messages (From: Jason Coco <email@hidden>)

  • Prev by Date: Re: Launchd timeout messages
  • Next by Date: Re: Custom button cells for NSMatrix
  • Previous by thread: Re: Launchd timeout messages
  • Next by thread: Re: Launchd timeout messages
  • Index(es):
    • Date
    • Thread