• 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
launchd daemon Throttling respawn log messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

launchd daemon Throttling respawn log messages


  • Subject: launchd daemon Throttling respawn log messages
  • From: Alexander Reichstadt <email@hidden>
  • Date: Wed, 11 Jun 2008 09:05:22 +0200

Hi,

launchd gives me a hard time with a daemon I need to keep running. It prints "Throttling respawn" to my console forever. Because of that I wrote a script that does nothing but print "test" and sleep before exiting to somehow understand why launchd does that. The script looks like this:

#!/bin/bash
echo "test";
sleep 15;
exit 0;


It sleeps before exiting because of the hint printed here:
<http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/LaunchOnDemandDaemons.html#//apple_ref/doc/uid/TP40001762-BCIEDDBJ >


Then I load it using launchctl like this:

launchctl submit -l 'testlaunchtestprc' -p /Users/Alexander/ testprclauncher -o /Users/Alexander/Desktop/out.txt -e /Users/ Alexander/Desktop/err.txt

Then it starts printing the respawn messages. Aside of those messages I can't make out a difference in my computer's behavior in any way other than that I have long logs.

Has anyone seen the same messages and made them stop while still using launchd and not cron, or should I just stop using it despite of it being the recommended path from cron and so forth?


Thanks Alexander

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: launchd daemon Throttling respawn log messages
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Garbage collector vs variable lifetime
  • Next by Date: Re: Garbage collector vs variable lifetime
  • Previous by thread: Re: Issue with displaying URI prefixes on child elements using NSXML
  • Next by thread: Re: launchd daemon Throttling respawn log messages
  • Index(es):
    • Date
    • Thread