From owner-freebsd-fs@FreeBSD.ORG Fri Oct 8 12:30:46 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 04D6310656A6 for ; Fri, 8 Oct 2010 12:30:46 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id BD9B18FC18 for ; Fri, 8 Oct 2010 12:30:45 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1P4C60-000BRT-9q; Fri, 08 Oct 2010 13:30:44 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1P4C60-000O4X-8u; Fri, 08 Oct 2010 13:30:44 +0100 Date: Fri, 08 Oct 2010 13:30:44 +0100 Message-Id: To: freebsd-fs@freebsd.org, gvidals@gmail.com In-Reply-To: From: Pete French 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:30:46 -0000 > 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) try adding '-H' to the 'ps' line and see if you can see all your nfs daemons - as far as I know the nfsd in 8.x is multi-threaded so instead of luaunching multiple processes you get a single process with the number of threads defined. e.g., on my server: [pete@skerry ~]$ ps waux | grep nfs root 1479 0.0 0.0 5824 944 ?? Is 28Sep10 0:00.01 nfsd: master (nfsd) root 1480 0.0 0.0 5824 944 ?? S 28Sep10 0:07.48 nfsd: server (nfsd [pete@skerry ~]$ grep nfs /etc/rc.conf nfs_server_enable="YES" nfs_server_flags="-t -n 4 -a" nfs_client_enable="YES" [pete@skerry ~]$ ps wauxH | grep nfs root 1479 0.0 0.0 5824 944 ?? Is 28Sep10 0:00.01 nfsd: master (nfsd) root 1480 0.0 0.0 5824 944 ?? S 28Sep10 0:01.91 nfsd: server (nfsd) root 1480 0.0 0.0 5824 944 ?? S 28Sep10 0:01.90 nfsd: server (nfsd) root 1480 0.0 0.0 5824 944 ?? S 28Sep10 0:01.85 nfsd: server (nfsd) root 1480 0.0 0.0 5824 944 ?? S 28Sep10 0:01.82 nfsd: server (nfsd) ...and there they all are, all four of them. So it looks like you were running as many nfsd processes as you thought - which makes the crash caused by something different I guess :-( -pete.