Distributed builds vs. Dynamic Network & Routing
Distributed builds vs. Dynamic Network & Routing
- Subject: Distributed builds vs. Dynamic Network & Routing
- From: Tom Harrington <email@hidden>
- Date: Fri, 11 Feb 2005 11:02:32 -0700
I've been experimenting with distributed builds this week for the
first time, and I've noticed it seems to have trouble with my network
setup. My setup's not atypical, I think-- I work on a Powerbook and
have other Macs available for distributed builds. Oddities I've
noticed include the following. I'm interested to hear whether these
are known bugs, or if there are workarounds, or if they need a new
entry in Radar. This is all with Mac OS X 10.3.8 (Darwin 7.8.0), and
XCode 1.5.
1. Multiple routes multiply jobs
My PB and the other Macs are linked by a wired network. And also by
Airport. Result == each machine used for building shows up twice in
the XCode distributed build prefs. I then end up with twice as many
compilation jobs in progress as I have machines available for
building. I haven't worked out whether this is a net gain or loss yet
in terms of build time, but either way it seems like it shouldn't be
happening.
2. Inability to handle dynamic networking.
This morning I took my PB away from my desk-- unplugging the wired
network, but leaving Airport active. Soon the fan started running at
high speed. Turns out distccschedd was using >90% of CPU, and I
wasn't even using XCode at the time.
3. Deadlocked builds
I haven't been able to pin down the exact circumstances, but I
sometimes notice these messages appearing repeatedly in the build log:
distcc[3873] ERROR: failed to read: Resource temporarily unavailable
distcc[3873] ERROR: read failed while waiting for token "ZCLL"
distcc[3873] ERROR: Unable to read zeroconfig service list length
distcc[3873] ERROR: Unable to use zeroconfig; can't distribute work
When this happens, I inevitably end up getting this message instead,
also repeatedly:
distcc[3880] ERROR: failed to connect to port 3633: (60) Operation timed out
Once I reach that stage the build seems to deadlock, and whatever
files are currently in progress never complete. I can stop the build,
but this also leads to distccschedd maxing out the CPU, so it needs to
be killed as well.
--
Tom Harrington
email@hidden
_______________________________________________
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