record is being updated - access denied

Kenneth Brody kenbrody at bestweb.net
Mon Jul 23 09:27:10 PDT 2007


Quoting Jay R. Ashworth (Mon, 23 Jul 2007 11:34:37 -0400):

> On Mon, Jul 23, 2007 at 11:32:09AM -0400, Kenneth Brody wrote:
> > Correction:  there is a process, but you don't know which one it is.
>
> Is this in fact deterministic, Ken?  Does the kernel reap locks for
> processes which die?

Unless there is a bug in the kernel, locks on a file are released when
the file is closed, and all files are closed when a process dies,
regardless of how it dies.  (ie: even with "kill -9", all files are
closed.)  In order for the kernel to claim a file is locked, there must
be an open file handle belonging to a process which owns the lock.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list