From owner-freebsd-fs@FreeBSD.ORG Fri Oct 8 12:31:20 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEEB3106566B for ; Fri, 8 Oct 2010 12:31:20 +0000 (UTC) (envelope-from weldon@excelsusphoto.com) Received: from mx0.excelsus.net (emmett.excelsus.com [74.93.113.252]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF938FC25 for ; Fri, 8 Oct 2010 12:31:20 +0000 (UTC) Received: (qmail 44630 invoked by uid 89); 8 Oct 2010 12:03:17 -0000 Received: by simscan 1.2.0 ppid: 44623, pid: 44627, t: 0.5290s scanners: clamav: 0.96.3/m: Received: from unknown (HELO 228.sub-70-210-69.myvzw.com) (weldon@excelsusphoto.com@70.210.69.228) by emmett.excelsus.com with ESMTPA; 8 Oct 2010 12:03:17 -0000 X-User-Agent: K-9 Mail for Android References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: Weldon Godfrey Date: Fri, 08 Oct 2010 07:03:22 -0500 To: gil@vidals.net,freebsd-fs@freebsd.org Message-ID: Cc: Subject: Re: moving away from freebsd and zfs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 12:31:21 -0000 nfsd runs in multiple threads now...which you can see with top. the default limit is 4. you can increase this limit with a sysctl varible (dont remember exactly the name but it is obvious with sysctl -a | grep nfs ) you do not need multiple nfsd deamons with multiple nfs shares. you will need enough threads to serve requests from clients. i would just up the threads to 100 to start. if you up the count with the sysctl varible...it will increase on the fly. set this also in /etc/sysctl.conf so it is set on reboot "Gil Vidals" wrote: >I'm hoping that somebody can help me as I've spent about a month studying >FreeBSD + ZFS to use as a NAS for my VMware ESX environment; however, it >looks like my hopes were completely dashed yesterday as my ZFS server based >on 64-bit i7 CPU with 8 GB of RAM and SSD slogs came crumbling down when I >added a second NFS mount point. > >After several hours of research on the crash, it seems that FreeBSD 8.1 >won't launch more than one nfsd, no matter what is configured in rc.conf. >(FreeBSD 7.x does launch multiple NFS daemons). So when I added my second >mount point, the CPU load went very high for the RPC services and the second >NFS mount point disconnected, brining down the running VMs. > >PROBLEM: only one nfsd >zambia# ps waux | grep nfs >root 1213 0.0 0.0 5804 1508 ?? Is 5:23PM 0:00.02 nfsd: master >(nfsd) >root 1214 0.0 0.0 5804 1588 ?? S 5:23PM 8:06.88 nfsd: server >(nfsd) > >The solution described here, >http://forums.freebsd.org/showthread.php?t=11873 points to compiling a >kernel with these options: > > options NFSD > options DEVICE_POLLING > options HZ=1000 > >The NFSD seems to be what solved the problem for the forum poster, but NFSD >option means that NFSv4 (experimental) is what is running and that isn't >supported by the VMware NFS client, so I can't use it. I don't know what to >do and I would be grateful for any suggestions. > >Gil Vidals / VMRacks.com > > > >[image: Reply With >Quote] >_______________________________________________ >freebsd-fs@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-fs >To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"