Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2006 14:09:04 -0500
From:      Francisco Reyes <lists@stringsutils.com>
To:        David Gilbert <dgilbert@dclg.ca>
Cc:        FreeBSD ISP <freebsd-isp@freebsd.org>
Subject:   Re: FreeBSD +NFS + mail services
Message-ID:  <cone.1136401744.131083.65830.1000@zoraida.natserv.net>
References:  <cone.1136336702.793300.48688.1000@zoraida.natserv.net> <17339.61532.649959.1059@canoe.dclg.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
David Gilbert writes:

> remaining processes have little or none.  As more of your NFS
> processes are charged for time, you may want to increase the number
> you run.  FreeBSD seems to run more client daemons dynamically, so you
> only need to worry about the number of server daemons you run.

I have the following on a machine:
ps aux|head -n 1|ps auxw |grep nfs
root      317  0.0  0.0     0     8  ??  DL   12:47PM   0:00.41 [nfsiod 0]
root      318  0.0  0.0     0     8  ??  DL   12:47PM   0:00.31 [nfsiod 1]
root      319  0.0  0.0     0     8  ??  DL   12:47PM   0:00.19 [nfsiod 2]
root      320  0.0  0.0     0     8  ??  DL   12:47PM   0:00.12 [nfsiod 3]
root     2316  0.0  0.0     0     8  ??  DL    1:17PM   0:00.06 [nfsiod 4]
root     2317  0.0  0.0     0     8  ??  DL    1:17PM   0:00.04 [nfsiod 5]
root     5486  0.0  0.0     0     8  ??  SL    1:39PM   0:00.02 [nfsiod 6]
root     5637  0.0  0.0     0     8  ??  SL    1:39PM   0:00.01 [nfsiod 7]
root     5638  0.0  0.0     0     8  ??  SL    1:39PM   0:00.01 [nfsiod 8]
root     6563  0.0  0.0     0     8  ??  SL    1:46PM   0:00.01 [nfsiod 9]
root     6564  0.0  0.0     0     8  ??  SL    1:46PM   0:00.00 [nfsiod 10]
root     6565  0.0  0.0     0     8  ??  IL    1:46PM   0:00.00 [nfsiod 11]
root     6566  0.0  0.0     0     8  ??  IL    1:46PM   0:00.00 [nfsiod 12]
root     6567  0.0  0.0     0     8  ??  IL    1:46PM   0:00.00 [nfsiod 13]
root     7089  0.0  0.0     0     8  ??  IL    1:51PM   0:00.00 [nfsiod 14]
root     7090  0.0  0.0     0     8  ??  IL    1:51PM   0:00.00 [nfsiod 15]
root     7091  0.0  0.0     0     8  ??  IL    1:51PM   0:00.00 [nfsiod 16]
root     7092  0.0  0.0     0     8  ??  IL    1:51PM   0:00.00 [nfsiod 17]
root     7093  0.0  0.0     0     8  ??  IL    1:51PM   0:00.00 [nfsiod 18]
root     7095  0.0  0.0     0     8  ??  IL    1:51PM   0:00.00 [nfsiod 19]

It seems that for the most part most of those nfs clients are not used. I 
then wonder why they were started.

What would be the impact on setting the upper limit of clients to 10?
Specially on a case like the above it doesn't seem like 20 were needed to 
begin with..

Also, on the server how does one change the number of running server 
daemons? Only way I found was to kill all nfsd daemons and start it with the 
new number of clients.. there must be a better way (I sure hope so). 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cone.1136401744.131083.65830.1000>