NFS LOCKD_SERVERS

Hello,

I want to upgrade LOCKD_SERVERS value to my FreeBSD NFS server. I have found in Google where it's necessary to add this value. in /etc/defaults/nfs. But I think FreeBSD doesn't use this file. How I can to update the LOCKD_SERVERS value to 128? The default value is 20.

Thanks!
 
I am seeing in my sysctl:
Code:
vfs.nfsd.minthreads: 128
vfs.nfsd.maxthreads: 128

Is there a similar thing of LOCKD_SERVERS?

Code:
ENOLCK No locks available.  A system-imposed limit on the number of
	     simultaneous file locks was reached.

How to update this limit?
 
I'm not sure the error is NFS related, it looks like a file system issue. It could be triggered by heavy NFS use though. What does this output? And on what version and architecture of FreeBSD?
sysctl kern.maxfiles kern.openfiles
 
Hello,

Thanks for your reply.

I have executed the command on my freebsd FreeBSD server:
Code:
root@nas02-ssd:/root # sysctl kern.maxfiles kern.openfiles
kern.maxfiles: 12328
kern.openfiles: 98

It seems to be wide. The problem doesn't appear at all times. It's after 12h/24h of massive NFS usage.

Thanks!
 
Sorry,

It's:
Code:
FreeBSD nas02-ssd 9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 #0: Sun Jan 12 20:11:23 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
 
Back
Top