nfs/svn/apache strange interaction
J. Bruce Fields
bfields at fieldses.org
Wed Apr 30 13:26:15 EDT 2008
On Tue, Apr 29, 2008 at 11:36:35AM +0200, Guillaume Rousse wrote:
> OK, I just discovered there was an .htaccess file in my public_html
> directory, which I was not aware. I tested with and without this file,
> the problem still persist. Here are the related traces (this time with
> no limit for tcpdump capture).
OK, thanks. The tcpdump.nohtaccess file shows a pretty simple
situation--the client opens index.txt (after first creating the
clientid), reads it, closes it, then 9 seconds letter tries to do a
getattr on it and gets ESTALE.
The getattr in the compound with the close shows nlink as 1, so the file
was still linked at that point. There's nothing else in the trace
between that close and the final getattr.
Presumably svn removed index.html and replaced it sometime during those
9 seconds (an strace of svn could confirm this), and the final getattr
is just apache doing a stat() call.
In any case, there's no clear bug on the client or the server side. And
I'm not sure what apache could be doing to avoid this either.
Can somebody else enlighten me?
--b.
More information about the NFSv4
mailing list