• 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
distributed builds and cron
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

distributed builds and cron


  • Subject: distributed builds and cron
  • From: Mark Lentczner <email@hidden>
  • Date: Tue, 21 Dec 2004 21:54:24 -0800

Yow! Did anyone else notice that turning on "Share my computer for building..." adds the following line to your account's crontab:

* * * * * /bin/ps -auxwww | /usr/bin/grep -v '/bin/ps' | /usr/bin/grep '[d]istccd' >/dev/null 2>&1 || /usr/bin/distccd --daemon --port 3632 --nice 0 --user markl >/dev/null 2>&1

This rather heavy handed line runs, once a minute, to ensure that distccd is restarted incase it ever stops running.

Alas, cron logs when it runs somthing, and so my system log now has a copy of this line for every time it has been run, which is ONCE A MINUTE! 86,400 copies a day! At 220 characters per line, thats 19 megabytes a day of system log file telling me that we're making sure distccd is running!

Who thought this one up?

My poor little laptop has been duly running, and logging, this goofy line every minute all day -- even there there was nothing to do, because distccd is happily, quietly, sitting around doing nothing!

Perhaps a better solution to keeping distccd running can be found for the next release? Like, say, just noticing that it works and doesn't need to be restarted all the time? Hmmmm?

	- Mark

Mark Lentczner
email@hidden
http://www.wheatfarm.org/

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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: distributed builds and cron
      • From: Phil <email@hidden>
    • Re: distributed builds and cron
      • From: Cameron Kerr <email@hidden>
    • Re: distributed builds and cron
      • From: Rob Lockstone <email@hidden>
  • Prev by Date: Xcode + gcov *.da file name mangling
  • Next by Date: Re: distributed builds and cron
  • Previous by thread: Xcode + gcov *.da file name mangling
  • Next by thread: Re: distributed builds and cron
  • Index(es):
    • Date
    • Thread