Red Hat Bugzilla – Bug 155771
Random app crashes caused by "file not found" errors for already-open files/sockets
Last modified: 2015-01-04 17:19:07 EST
Description of problem:
Some of my applications are reporting random "file not found" or "no such file
or directory" errors, exclusively with *opened* files or sockets, since either
my latest kernel upgrade or a recent one (I don't remember exactly when it
started happening). I am not using NFS, but see also bug 144556.
A typical error is an application, such as psi or pan, crashing due to an X I/O
error, with "file not found" sometimes given as the reason.
Another symptom is this non-fatal stack trace from a Java program, Azureus:
DEBUG::Fri Apr 22 19:51:02 BST 2005
java.io.IOException: No such file or directory
at sun.nio.ch.IOUtil.drain(Native Method)
I believe both of these errors are symptomatic of the same problem, which is
that the kernel (or perhaps glibc) seems to be ocassionally reporting a file not
found error for operations on open file descriptors.
These errors happen on the order of once or twice in an hour, or less, usually
when I'm not at the machine.
Version-Release number of selected component (if applicable):
Not consistently reproducible
I believe this one has been around for a while; a customer of mine is seeing
processes dying on Fedora Core 2 with at least kernel-2.6.9-1.6_FC2
The system seems to fail to open files even when plenty of fds are available as
Mass update of -test bugs to update version to fc4.
(Please retest on final release, and report results if you have not already done
[This comment has been added as a mass update for all FC4 kernel bugs.
If you have migrated this bug from an FC3 bug today, ignore this comment.]
Please retest your problem with todays 2.6.12-1.1398_FC4 update.
If your problem involved being unable to boot, or some hardware not being
detected correctly, please make sure your /etc/modprobe.conf is correct *BEFORE*
installing any kernel updates.
If in doubt, you can recreate this file using..
mv /etc/sysconfig/hwconf /etc/sysconfig/hwconf.bak
mv /etc/modprobe.conf /etc/modprobe.conf.bak
I have not seen this bug for weeks, so closing.