Return-Path: Received: from mexforward.lss.emc.com ([128.222.32.20]:17227 "EHLO mexforward.lss.emc.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752000Ab0HZKR7 (ORCPT ); Thu, 26 Aug 2010 06:17:59 -0400 Date: Thu, 26 Aug 2010 06:17:43 -0400 To: "Neil Brown" Subject: Re: Does the machine need to be restarted after RPCNFSDCOUNT in /etc/default/nfs-kernel-server (ubuntu) is edited? From: sfaibish Cc: "Peng Yu" , linux-nfs@vger.kernel.org Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 References: <20100826093648.26d03c1c@notabene> <20100826103152.05627abb@notabene> Message-ID: In-Reply-To: <20100826103152.05627abb@notabene> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Wed, 25 Aug 2010 20:31:52 -0400, Neil Brown wrote: > On Wed, 25 Aug 2010 20:12:02 -0400 > sfaibish wrote: > >> On Wed, 25 Aug 2010 19:36:48 -0400, Neil Brown wrote: >> >> > On Wed, 25 Aug 2010 15:02:14 -0500 >> > Peng Yu wrote: >> > >> >> Hi, >> >> >> >> I changed the value of RPCNFSDCOUNT in /etc/default/nfs-kernel-server >> >> (ubuntu). Do I need to restart the machine? >> >> >> >> Or I need to restart nfsd? If so, would you please let me know how to >> >> restart nfsd? >> >> >> > >> > Easiest thing to do is simply >> > >> > rpc.nfsd $NUMBER >> > >> > it will change the number of running threads to match the number that >> you >> > give. >> You still need to stop and restart the nfs for this to take effect. > > Have you tried it? Have you? Obviously not. > > I assure you that running rpc.nfsd like this does change the number of > threads from whatever it is to the given number. (I should know, I wrote > the > code :-) No it does not if you check how many daemons are running (ps) you will see that it only changed the value not the number of running daemons. > > NeilBrown > >> >> /Sorin >> >> > >> > NeilBrown >> > -- >> > To unsubscribe from this list: send the line "unsubscribe linux-nfs" >> in >> > the body of a message to majordomo@vger.kernel.org >> > More majordomo info at http://vger.kernel.org/majordomo-info.html >> > >> > >> >> >> > > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- Best Regards Sorin Faibish Corporate Distinguished Engineer Network Storage Group EMC? where information lives Phone: 508-435-1000 x 48545 Cellphone: 617-510-0422 Email : sfaibish@emc.com