[patch] giant-less quotas for UFS

Nicolas KOWALSKI Nicolas.Kowalski at imag.fr
Mon Apr 10 20:29:24 UTC 2006


"R. B. Riddick" <arne_woerner at yahoo.com> writes:

> --- Nicolas KOWALSKI <Nicolas.Kowalski at imag.fr> wrote:
>> pave# nfsd -t -u -n 128
>> nfsd: nfsd count 128; reset to 4
>> 
>> What am I forgetting here ?
>>
> I just had a look at the source code
>   http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/nfsd/nfsd.c
> which limits the maximum number of nfsd children to 20 in some
> releases R4
> (I have not found the tag for R4.11, so I am not sure, if this
> holds true for your system...):
>  #define	MAXNFSDCNT	20
>
> 128 clients is not possible with your nfsd version.
>
> So you might want to recompile your nfsd...

I edited nfsd.c as you wrote, and it worked, Thanks. The server is now
running 128 nfsd processes.

Next, I will test/stress the server with the applications causing
harm.

Many thanks to all,
-- 
Nicolas


More information about the freebsd-fs mailing list