From owner-freebsd-stable@freebsd.org Fri Feb 12 09:06:02 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 10A27AA568B for ; Fri, 12 Feb 2016 09:06:02 +0000 (UTC) (envelope-from freebsd@lidstrom.eu) Received: from ch-p-mailout01.sth.basefarm.net (ch-p-owweb-vips.sth.basefarm.net [164.40.177.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0CA310F0 for ; Fri, 12 Feb 2016 09:06:01 +0000 (UTC) (envelope-from freebsd@lidstrom.eu) Received: from c83-251-49-235.bredband.comhem.se ([83.251.49.235]:57684 helo=zimbra01.henriklidstrom.se) by ch-p-mailout01.sth.basefarm.net with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84) (envelope-from ) id 1aU9cr-000DNO-3i for freebsd-stable@freebsd.org; Fri, 12 Feb 2016 10:04:07 +0100 Received: from localhost (localhost [127.0.0.1]) by zimbra01.henriklidstrom.se (Postfix) with ESMTP id 4DCD5120524 for ; Fri, 12 Feb 2016 10:02:52 +0100 (CET) Received: from zimbra01.henriklidstrom.se ([127.0.0.1]) by localhost (zimbra01.henriklidstrom.se [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id eYGIAkI8dUJa for ; Fri, 12 Feb 2016 10:02:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra01.henriklidstrom.se (Postfix) with ESMTP id C42A3120522 for ; Fri, 12 Feb 2016 10:02:50 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra01.henriklidstrom.se Received: from zimbra01.henriklidstrom.se ([127.0.0.1]) by localhost (zimbra01.henriklidstrom.se [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id h9jd8-DYB3hQ for ; Fri, 12 Feb 2016 10:02:50 +0100 (CET) Received: from [192.168.226.114] (unknown [83.255.229.1]) by zimbra01.henriklidstrom.se (Postfix) with ESMTPSA id 97A39120248 for ; Fri, 12 Feb 2016 10:02:50 +0100 (CET) Subject: Re: 10-STABLE hangups frequently To: freebsd-stable@freebsd.org References: <20160202200738.GA78969@server.rulingia.com> <56B761A4.7010901@restart.be> From: =?UTF-8?Q?Henrik_Lidstr=c3=b6m?= Message-ID: <56BD9FBA.3040002@lidstrom.eu> Date: Fri, 12 Feb 2016 10:02:50 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <56B761A4.7010901@restart.be> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 83.251.49.235 X-Scan-Result: No virus found in message 1aU9cr-000DNO-3i. X-Scan-Signature: ch-p-mailout01.sth.basefarm.net 1aU9cr-000DNO-3i 431885181e1c9b267b6f7a7d64c620cc 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: Fri, 12 Feb 2016 09:06:02 -0000 On 02/07/16 16:24, Henri Hennebert wrote: > 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 Thanks for the tip. Reverting vfs_subr.c to 291757 keeps things stable again. /Henrik