Re: Possible NFSv4 locking bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"J. Bruce Fields" writes:
> On Mon, Feb 28, 2011 at 10:27:23AM -0500, Rick Koshi wrote:
> > 
> > I've found that when I lock an NFS-mounted file on a client, the server
> > reserves an open file descriptor (as seen in /proc/sys/fs/file-nr).
> 
> So it looks like that's the total number of allocated struct file's
> across the system?

That sounds about right.  To be honest, I'm not 100% sure exactly
what that file reports.  But I do know that when it got that large,
I stopped being able to open new files as any non-root user.  Running
basic things like 'ls' gave me errors, as they were unable to open
shared libraries to run.

If you like, you can read the post I originally submitted
on serverfault.com, when I was trying to figure this out.
It documents a lot of what I tried:

   http://serverfault.com/questions/235059/vfs-file-max-limit-1231582-reached

> Is there any earlier kernel where you know this problem *didn't* occur?

Sorry, no.  This whole setup is fairly new.

    -- Rick
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux