distributed builds and cron
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