[distcc] distcc problems...
ahasty at chiaro.com
ahasty at chiaro.com
Thu Mar 18 15:38:34 GMT 2004
Gents,
Last week, I left with the task of changing the DISTCC_DIR variable to
live on a directory that is local to the machine that the distcc was
running. I.E. /tmp/$USER/.distcc
Here are the results of my investigation.
1) It does appear that our network is causing some problems, but getting
these isolated has been difficult, as our admin has been away on
vacation. :-)
2) All of the following errors have gone away.
distccmon-text[10782] (dcc_close) ERROR: failed to close fd4: Stale NFS
file handle
or
distccmon-text[960] (dcc_mon_read_state) Warning: wrong magic number:
/home/ahasty/.distcc/state/binstate_12563
3) The only remaining error is
distcc[22547] (dcc_close) ERROR: failed to close fd4: Resource
temporarily unavailable
This error may be as a result of (1)
When our network guy returns, I'm going to try and figure out what the
real issue is, and see if I can't get the test case to run cleanly.
I think that a note in a FAQ needs to be made about the fact that having
the DISTCC_DIR local to the box running distcc is a good idea.
Thanks for you help and direction.
Later,
Alan Hasty
Chiaro Networks.
-----Original Message-----
From: Martin Pool [mailto:mbp at samba.org]
Sent: Wednesday, March 10, 2004 10:43 PM
To: Daniel Kegel
Cc: Alan Hasty; distcc at lists.samba.org
Subject: Re: [distcc] distcc problems...
On 10 Mar 2004, Daniel Kegel <dank at kegel.com> wrote:
> Perhaps he's running distccmon on a different machine
> than the distcc client, and accessing ~/.distcc via nfs?
> http://groups.google.com/groups?selm=netappCJyvKo.MrI%40netcom.com
> suggests that readers should just assume files which return ESTALE
> have been deleted. That means dcc_close should ignore ESTALE.
Good catch. I'll do what that post suggests.
> No idea about the dcc_mon_read_state problem, though.
It's probably the same thing: the file has been removed by a distcc or
distccmon process on a different machine.
The problem of naming across machines also needs to be addressed. It
is perhaps not as simple as just adding the hostname to each file,
because people might really want to e.g. monitor from a different
host.
--
Martin
More information about the distcc
mailing list