MMapFile: File locking failed with error code 37
Nuno Sucena Almeida
slug-wz5RHecsqBdg9hUCZPvPmw at public.gmane.org
Tue Feb 3 20:52:27 EST 2009
Hi Jerry,
as I mentioned, our problem was with locking and after some searching
on the lkml , reading about similar reports and actually seeing a
diff on the kernel git repository, I upgraded the kernel on the
server and stopped having problems with NFS. It might be the same
issue that you have and at that time I was surprised that it took
that long for the problem and a fix to show up. I actually don't
remember the circustances where the client machines would start to
complain, but it wasn't obvious, although probably I used strace to
reach the conclusion that some weird thing was going on with locking.
Good luck!,
Nuno
On Thu, Jan 29, 2009 at 01:08:18PM -0500, Jerry Feldman wrote:
> I have a bit more information. I was able to find the lines of code, and it
> has nothing to do with mmap(2). The problem is with fcntl, and only when
> int fcnt = fcntl(fd, F_SETLK, &fl); /* fails when NFS server is RHEL 5.2
More information about the Discuss
mailing list