Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1193586
| From | Vincent Lefevre <vincent@vinc17.net> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1017720: nfs-common: No such file or directory |
| Date | 2024-04-09 16:10 +0200 |
| Message-ID | <IrkkF-58EL-1@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <HFuFH-9GP5-5@gated-at.bofh.it> <Iq90l-4oGU-4359@gated-at.bofh.it> <IriCd-57xm-1@gated-at.bofh.it> <EWjKN-1IQy-5@gated-at.bofh.it> <IriCd-57xm-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
On 2024-04-09 14:09:43 +0200, Vincent Lefevre wrote:
> Some additional information: created only once, but data may be
> appended (on the creator's side, the file is created for writing,
> and data are written occasionally, and at some point, the file is
> closed). The error with "open" may occur even several hours after
> the last time data were written to the file.
This is actually reproducible with a read-only directory.
I've attached a Perl script to reproduce the issue, just
based on "stat".
The conditions seem to be:
* The directory and the files need to be recent enough: I can't
reproduce the issue with an old directory, even if I add many
new files into it.
* Concurrent "stat": with the attached script, the issue is
reproducible with 2 threads or more, but not with a single
thread.
Example of errors:
./dir-stat: can't stat . (x 2)
./dir-stat: can't stat 775 (x 148)
./dir-stat: can't stat 772 (x 1)
./dir-stat: can't stat 415 (x 1)
./dir-stat: can't stat 716 (x 1)
./dir-stat: can't stat 453 (x 1)
./dir-stat: can't stat 9 (x 1)
./dir-stat: can't stat 201 (x 1)
./dir-stat: can't stat 981 (x 1)
./dir-stat: can't stat 660 (x 1)
./dir-stat: can't stat 120 (x 1)
./dir-stat: can't stat 127 (x 1)
./dir-stat: can't stat 663 (x 1)
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#1017720: nfs-common: No such file or directory Vincent Lefevre <vincent@vinc17.net> - 2024-04-06 09:52 +0200
Bug#1017720: nfs-common: No such file or directory Vincent Lefevre <vincent@vinc17.net> - 2024-04-09 14:20 +0200
Bug#1017720: nfs-common: No such file or directory Vincent Lefevre <vincent@vinc17.net> - 2024-04-09 16:10 +0200
csiph-web