From owner-freebsd-current@freebsd.org Thu Sep 27 22:39:33 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E861E10BC873 for ; Thu, 27 Sep 2018 22:39:32 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 65FE27B284 for ; Thu, 27 Sep 2018 22:39:32 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x442.google.com with SMTP id u12-v6so4303592wrr.4 for ; Thu, 27 Sep 2018 15:39:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g0u51ri9AthhsF/8OhCdBrvqvgoX5z+UqMg0K/efMwo=; b=HxUqbZt/gwY80ZvtzoE03CUKIS7fwlUNIyAg0SopM9+r68KhluZ23QsFoFHRK5+UnY q9oiDVNA82F9iuOjG6ocRCRmEUrfdnewtfO/AlwrRGKxy3Jxa5bsswPSgR6fKD7K0AaA 4vXW0yT7hJfsaHIPpUeuhRhLFo+YkezR1/hF3PnRPkJJnA3ke0mSI+M4l589PjzQItmp YmeFSdWRvFf7vtX/lS6Js4dpsAPnPTGAJ0V2JhdUHf9FrvUXD+D+2xipB0Y5O+kMkAh6 3RxDlnvEpnbMety8+ZUOcPP9OdHtiu21F1o2LXDCu9eZMtNjevwMPRz9G9QEXKCDgzBd CZsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g0u51ri9AthhsF/8OhCdBrvqvgoX5z+UqMg0K/efMwo=; b=fRnXmEoozr3yXicb0E2E72b8j8qgZjI+FKtyC1r13Sl3XTWLUjnPQ/sB1bs5DCDKfb hBFCfLySp461SpKVmbH8T90R6atjfivrbyOZJF+0erWEi/2DG2gDwubcLBQeaL7Q35a6 YoJiPZS1rRfm4P2qQjzA+5Lo0yrQQZDXmGHf1Pdt4NxZeL2n3wAH46HwwDP4IPtn2G3H kaf7+7KH4HUeabdHLzY1yY2YxqFTqyGV1XerJ4Y0+62dCupYdYoZZfuEA8skYGYPA1pd gtJdA8xNVJ1WAYcph6UvCkAxleXK/qXztQRbNjQWqXOTUWuHsSiF0Zp+zgYK37D37Q0C hMfA== X-Gm-Message-State: ABuFfoi002W4mYLbszmsAVyAy6HswfgliZLv82HhGLSjmCWLPJtY114Y ZARYMyXzd+3aNAyEJDyIoFBYZuKWNNLttuPeLkM3YQ== X-Google-Smtp-Source: ACcGV63N7hsaYvSsbOqRY5K6KevpUPChKLW7RCd6lLIEugjg9Rak411FDL5nuAxh5Y22gN5vYgKfYPkHOD2Xnz+CbKQ= X-Received: by 2002:a5d:6b92:: with SMTP id n18-v6mr1935468wrx.295.1538087971247; Thu, 27 Sep 2018 15:39:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Johannes Lundberg Date: Thu, 27 Sep 2018 15:39:20 -0700 Message-ID: Subject: Re: 12.0-ALPHA5 - ZFS default ARC max apparently forcing system to run out of memory To: Rebecca Cran Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Thu, 27 Sep 2018 22:39:33 -0000 On Thu, Sep 27, 2018 at 15:03 Rebecca Cran wrote: > I'm running 12.0-ALPHA5 on a laptop which has 32GB RAM and 2GB swap. > I've found it running out of memory when building ports via synth: I > think I've also seen it when running a buildworld. Johannes on > FreeBSDDesktop suggested it might be related to ZFS, and setting > vfs.zfs.arc_max to 8GB *does* appear to have resolved the problem. > > > Shortly after running out of memory (with |"swap_pager_getswapspace(32): > failed" messages)|, the first few lines of 'top' were: > > > Mem: 4335M Active, 4854M Inact, 7751M Laundry, 9410M Wired, 48K Buf, > 5332M Free > > ARC: 5235M Total, 4169M MFU, 497M MRU, 172K Anon, 97M Header, 471M Other > > 3479M Compressed, 5930M Uncompressed, 1.70:1 Ratio > > Swap: 2048M Total, 2009M Used, 39M Free, 98% Inuse > > > > I've not seen this happen before on ZFS systems, so is it a regression > in 12? Hi It=E2=80=99s been a few months since I did the same thing so it=E2=80=99s n= ot a recent issue. > > > -- > Rebecca Cran > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >