From: NFS Troubs <nfstroubs@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: file on NFS incorrectly reported as missing
Date: Sat, 10 Jul 2010 17:01:14 +0200 [thread overview]
Message-ID: <AANLkTinZV9XoTDPDhqP3kF1xcl2S_rALIAWjp3U3BprJ@mail.gmail.com> (raw)
I have got four webservers and one fileserver, all running Karmic and
kernel 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009
x86_64 GNU/Linux.
A folder on the fileserver on an EXT3 file system has been exported
using NFSv3 with these options: rw,async,no_subtree_check
and mounted on all four webservers with these options:
defaults,rsize=32768,wsize=32768,noatime
The webservers run Apache+PHP+APC. Some php-files include other
php-files from the nfs mount, and are requested by users very
frequently (~ 100 times per second). Sometimes but not always if I
alter an included php-file using FTP (the FTP server is ProFTPD and
runs on the fileserver), the file seems missing:
user@webserver1: ~ $ ls --full-time -al /path/to/included/file.php
ls: cannot access /path/to/included/file.php: No such file or directory
I can repeat this command for hours, but the file keeps missing. Until
I query the directory:
user@webserver1: ~ $ ls --full-time -al /path/to/included/ | grep file
-rwxr-xr-x 1 1002 1002 14294 2010-07-04 21:11:30.000000000 +0200 file.php
and then the first command also works.
Any suggestion would be welcome.
reply other threads:[~2010-07-10 15:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinZV9XoTDPDhqP3kF1xcl2S_rALIAWjp3U3BprJ@mail.gmail.com \
--to=nfstroubs@gmail.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).