Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2011 21:48:31 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: stable/8 nfsd: is it normal to have one worker regardless of -n setting?
Message-ID:  <20110801024830.GC59252@dan.emsphone.com>
In-Reply-To: <alpine.BSF.2.00.1108010232241.66711@woozle.rinet.ru>
References:  <alpine.BSF.2.00.1108010232241.66711@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 01), Dmitry Morozovsky said:
> just noticed that contemporary nfsd does not fork children in accordance
> to -n setting:
> 
> stable/8:
> 
> root@beaver:/usr/local/tb/scripts# pid nfs
>  1745  ??  Is     0:00.02 nfsd: master (nfsd)
>  1746  ??  S      0:03.29 nfsd: server (nfsd)
> root@beaver:/usr/local/tb/scripts# grep nfs_server_flags /etc/rc.conf
> nfs_server_flags="-u -t -n 4"

They are threads now:

# ps axw | grep nfsd
 1373  ??  Is     0:00.02 nfsd: master (nfsd)
 1374  ??  S      5:47.14 nfsd: server (nfsd)
# ps axwH | grep nfsd
 1373  ??  Is     0:00.02 nfsd: master (nfsd)
 1374  ??  S      1:25.79 nfsd: server (nfsd)
 1374  ??  S      1:26.65 nfsd: server (nfsd)
 1374  ??  S      1:27.67 nfsd: server (nfsd)
 1374  ??  S      1:27.04 nfsd: server (nfsd)

-- 
	Dan Nelson
	dnelson@allantgroup.com



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