From owner-freebsd-stable@freebsd.org Sun Feb 7 15:24:37 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46B18AA1D04 for ; Sun, 7 Feb 2016 15:24:37 +0000 (UTC) (envelope-from hlh@restart.be) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2549C19AA for ; Sun, 7 Feb 2016 15:24:37 +0000 (UTC) (envelope-from hlh@restart.be) Received: by mailman.ysv.freebsd.org (Postfix) id 23AC7AA1D03; Sun, 7 Feb 2016 15:24:37 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 096C4AA1D02 for ; Sun, 7 Feb 2016 15:24:37 +0000 (UTC) (envelope-from hlh@restart.be) Received: from tignes.restart.be (tignes.restart.be [IPv6:2001:41d0:8:bdbe:0:1::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tignes.restart.be", Issuer "CA master" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 97BAE19A9; Sun, 7 Feb 2016 15:24:36 +0000 (UTC) (envelope-from hlh@restart.be) X-Comment: SPF check N/A for local connections - client-ip=2001:41d0:8:bdbe:1:1::; helo=restart.be; envelope-from=hlh@restart.be; receiver=ume@mahoroba.org DKIM-Filter: OpenDKIM Filter v2.10.3 tignes.restart.be 3pyvRG756nznqb DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=restart.be; s=tignes; t=1454858667; bh=2AkEGuhmz221In/Tuu/wWvlNmuln2PL8bNNUCTriOVQ=; h=Subject:To:References:Cc:From:Date:In-Reply-To; z=Subject:=20Re:=2010-STABLE=20hangups=20frequently|To:=20Hajimu=20 UMEMOTO=20,=20Peter=20Jeremy=20|References:=20=0D=0A=20<20160 202200738.GA78969@server.rulingia.com>=0D=0A=20|Cc:=20stable@FreeBSD.org,=20mckusick@FreeBSD.org|Fr om:=20Henri=20Hennebert=20|Date:=20Sun,=207=20Feb= 202016=2016:24:20=20+0100|In-Reply-To:=20; b=fdPNZaiysrZICwS5KObEJghvLpaklfg9CZ89AX+y6RMJzKKbjoUE9syndee69g2wP /Aou38sarVdS1mA9Oazr6PePpQlAjrAcu7xEQWUlRiR6DxtMESzGzDJ3JopKEykapP LQ9VctDU939WnUBBU6+C/crQ103qr925NrQRQPJyepX7wbmnkyml/aWH2BUAuQ0jTJ xC0eK/JkjSzS2WmNZijXEgok/EDIFTlApP2x0nxYAi0JG72+ensBWef7cKyX6PNTv4 qzZUZVJ8H99Z31TGk17My7oCv/rOFBrgDby/0K0je1/b0X4SsEPPY+7H9iMwjEHJOs LyNDMkJba74fw== Received: from restart.be (avoriaz.restart.be [IPv6:2001:41d0:8:bdbe:1:1::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.restart.be", Issuer "CA master" (verified OK)) by tignes.restart.be (Postfix) with ESMTPS id 3pyvRG756nznqb; Sun, 7 Feb 2016 16:24:26 +0100 (CET) Received: from meribel.restart.bel (meribel.restart.bel [IPv6:2001:41d0:8:bdbe:1:8:0:0]) (authenticated bits=0) by restart.be (8.15.2/8.15.2) with ESMTPSA id u17FOLKe007724 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Sun, 7 Feb 2016 16:24:22 +0100 (CET) (envelope-from hlh@restart.be) Subject: Re: 10-STABLE hangups frequently To: Hajimu UMEMOTO , Peter Jeremy References: <20160202200738.GA78969@server.rulingia.com> Cc: stable@FreeBSD.org, mckusick@FreeBSD.org From: Henri Hennebert Openpgp: id=D1248BB28D7F9271D27E9D1E84EC2196D351A503 X-Enigmail-Draft-Status: N1110 Message-ID: <56B761A4.7010901@restart.be> Date: Sun, 7 Feb 2016 16:24:20 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 15:24:37 -0000 On 02/03/2016 02:03, Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Wed, 3 Feb 2016 07:07:38 +1100 >>>>>> Peter Jeremy said: > > peter> As others have said, you need to provide lots more detail on your > peter> configuration. > > CPU: AMD Athlon(tm) 64 Processor 3500+ > Memory: 4GB > HDD: 3TB > > I'm using ZFS only setup. > > peter> There were no problems at r290231 but after I upgraded to r295005, I > peter> started seeing "out of swap" errors and hangs during the periodic > peter> daily runs. I'm not seeing this on 1GB instances - though they are > peter> all running UFS. > > r292875 runs well: > > FreeBSD asuka.mahoroba.org 10.2-STABLEFreeBSD 10.2-STABLE #5 r292875: Tue Feb 2 07:08:29 JST 2016 root@asuka.mahoroba.org:/usr/obj/usr/src/sys/ASUKA amd6 > > r292895 hangs: > > FreeBSD asuka.mahoroba.org 10.2-STABLE FreeBSD 10.2-STABLE #6 r292895: Tue Feb 2 10:17:28 JST 2016 root@asuka.mahoroba.org:/usr/obj/usr/src/sys/ASUKA amd64 > > I tried latest stable (r295137) with the sys/kern/vfs_subr.c part of > r292895 reverted, and it seems running well, here: > > FreeBSD asuka.mahoroba.org 10.3-PRERELEASE FreeBSD 10.3-PRERELEASE #0 r295137M: Tue Feb 2 20:39:11 JST 2016 root@asuka.mahoroba.org:/usr/obj/usr/src/sys/ASUKA amd64 > > peter> Some experimentation suggested that just "find /" was enough to wedge > peter> my system. I did some experimenting and found that the following > peter> loader config was enough to prevent it hanging: > peter> vfs.zfs.arc_max="128M" > peter> vfs.zfs.arc_meta_limit="50M" > peter> vfs.zfs.arc_min="25M" > peter> (previously, I had no ZFS tuning at all). > > I had ZFS tuning before. However, after this problem was occur, I > removed all of ZFS tuning. > The FS related setting is only kern.maxvnodes=400000, now. > > Sincerely, > > -- > Hajimu UMEMOTO > ume@mahoroba.org ume@FreeBSD.org > http://www.mahoroba.org/~ume/ I encounter a hangup 3 times after I upgrade to 10.3-PRERELEASE r295247M in a zfs configuration (i386 with 2GB memory) while trying to run security/tripwire (compute checksum on all the files). With /usr/src/sys/kern/vfs_subr.c at revision 291757 all return to normal. Henri PS thanks Hajimu