Red Hat Bugzilla – Bug 84134
NFS locks not released when client side application dies.
Last modified: 2007-11-30 17:06:55 EST
Description of problem: When an application dies unexpectedly while holding a
file lock on an NFS mounted filesystem, the nfs-utils doesn't clean up the NFS
Version-Release number of selected component (if applicable): nfs-utils-0.3.3-
How reproducible: Every time.
Steps to Reproduce:
1. Run an application that writes data to an NFS mounted drive.
2. Terminate the application with a kill -9
Actual results: The there are still read and write locks on the file belonging
to the dead processes' PID.
Expected results: There would be no locks held.
I noticed the same problem on hp-ux based nfs server and linux based nfs clients
Targeting this for RHEL3 U3, changing component to kernel. -ernie
A fix for this problem has just been committed to the RHEL3 U3
patch pool (in kernel version 2.4.21-15.1.EL).
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.