From owner-freebsd-current@FreeBSD.ORG Mon Sep 13 03:09:45 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8A00106566B for ; Mon, 13 Sep 2010 03:09:45 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id A44318FC0A for ; Mon, 13 Sep 2010 03:09:45 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEADIyjUyDaFvO/2dsb2JhbACDGZ8frxeQcoEigyp0BIon X-IronPort-AV: E=Sophos;i="4.56,357,1280721600"; d="scan'208";a="93634519" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 12 Sep 2010 23:09:44 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id B0576B3F26; Sun, 12 Sep 2010 23:09:44 -0400 (EDT) Date: Sun, 12 Sep 2010 23:09:44 -0400 (EDT) From: Rick Macklem To: David Ehrmann Message-ID: <1431942489.798180.1284347384700.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <4C8D78E3.3080404@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [24.65.230.102] X-Mailer: Zimbra 6.0.7_GA_2476.RHEL4 (ZimbraWebClient - SAF3 (Mac)/6.0.7_GA_2473.RHEL4_64) Cc: freebsd-current@freebsd.org Subject: Re: NFS lockups with VMware esxi client X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2010 03:09:46 -0000 > I have NFS sharing a ZFS pool that VMware esxi stores files on. When > put under stress (an OS installation, but not Linux compilation), the > NFS server locks, spiking to 100% CPU usage. Not even kill -KILL can > stop the process, so rebooting is required. > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 885 root 4 44 0 5804K 988K CPU2 0 239:39 100.00% nfsd > > Other people have run into this problem, but I never found a solution. > I'm running 8.1-PRERELEASE on amd64, but I think others have seen the > problem on 8.1-RELEASE. > > zpool status reports that the pool is healthy, so that's not it. My > only two ideas are hosting on something other than ZFS and trying to > reproduce it with a lot of big, random NFS requests. Any other ideas? > I believe it is patched in head/current. A compatible patch is at: http://people.freebsd.org/~rmacklem/freebsd8.1-patches/replay.patch rick