Re: distributed builds and cron
Re: distributed builds and cron
- Subject: Re: distributed builds and cron
- From: Phil <email@hidden>
- Date: Thu, 23 Dec 2004 17:30:56 +1300
On Tue, 21 Dec 2004 21:54:24 -0800, Mark Lentczner <email@hidden> wrote:
> 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?
There was interesting thread on the distcc mailing list a couple of
years ago about distcc restarting -
<http://lists.samba.org/archive/distcc/2002q4/000410.html>
This mentions a slightly shorter version of what Xcode is doing, and
it doesn't create any log entries (although, this may differ now).
>From that thread -
"> Running it from cron is quite a creative way to make sure it gets
> restarted if necessary.
"It makes it easier given the fact that distccd dies if it's port is in
use. So you don't have to worry about spawning a bunch of extra
processes."
The distcc documentation also tells you how to run distcc from inetd -
<http://distcc.samba.org/man/distccd_1.html>
distcc stream tcp nowait.6000 root /usr/local/bin/distccd distccd --inetd
(watch that path!)
But it also notes that "this is slightly less efficient than running a
standalone distccd daemon. distccd is not able to regulate the number
of concurrent jobs accepted, but there may be an option in your inetd
configuration to do so."
-Phil
_______________________________________________
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