From owner-freebsd-stable@FreeBSD.ORG Thu Oct 11 15:37:17 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82A84B87 for ; Thu, 11 Oct 2012 15:37:17 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 40FA38FC16 for ; Thu, 11 Oct 2012 15:37:16 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so2482294oag.13 for ; Thu, 11 Oct 2012 08:37:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VHoskrz++fUznLbcjoQdbvHoyp7lTHugU8nEjz4bMUI=; b=MVfOJbwRqn/LGWtcIhvTkirXusjKyh8Jx+3JGIXaOk8Jh7ruBb5d519zqPCu2NB/Lj yyYIDmLRi8g81ATM/8mOJB+edz5Z4R+SYGMRSneiv7F+CXh4fRhuQQ8b3UQS9p6qo9LM NZ1WP0pxF+39seLjFlPkS9CdFQHY2nSdgjm9wFCFYy4NcAMDQFnJDpJlucxAez6tP4vF NJhyuPbpCrQrmks1OD065CSW5DawidYbwigEcEaHyxlAgwpu/iVJGSZ/1QWVRUFncrrM NhqAApmKDkAr7PGFrMI+MJWSanC+IpnP2DAsfc+02XoIFtf3jFvK+hGIh3kaaVCO1apL QgYQ== MIME-Version: 1.0 Received: by 10.60.31.198 with SMTP id c6mr996674oei.112.1349969836434; Thu, 11 Oct 2012 08:37:16 -0700 (PDT) Received: by 10.60.124.2 with HTTP; Thu, 11 Oct 2012 08:37:16 -0700 (PDT) In-Reply-To: <5076E68F.3070109@gmail.com> References: <5076E68F.3070109@gmail.com> Date: Thu, 11 Oct 2012 19:37:16 +0400 Message-ID: Subject: Re: kern.maxswzone is gone... what next? From: Sergey Kandaurov To: Volodymyr Kostyrko Content-Type: text/plain; charset=ISO-8859-1 Cc: stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2012 15:37:17 -0000 On 11 October 2012 19:32, Volodymyr Kostyrko wrote: > Hi all. > > I prefer to build all ports in /tmp, which is actually a tmpfs filesystem. I > have 8G partition. But when I tried to compile Apache OpenOffice system > starts shooting processes when I was near 6G of swap. > > Oct 11 18:12:32 ar1l0u kernel: swap zone exhausted, increase kern.maxswzone > Oct 11 18:12:32 ar1l0u kernel: pid 1334 (java), uid 818, was killed: out of > swap space > Oct 11 18:12:32 ar1l0u kernel: pid 74518 (thunderbird), uid 1001, was > killed: out of swap space > Oct 11 18:12:32 ar1l0u kernel: swap zone ok > How much RAM (avail memory) do you have? > As I'm running rather current version I see r240097 in the log that states > that there is no maxswzone setting for amd64 anymore. When I tried to query > this parameter I got: > >> sysctl kern.maxswzone > kern.maxswzone: 0 > > What was that? Did that mean that 6G is a maximum swap size now? > > PS: I'm retrying now with kern.maxswzone set to 256M. I doubt it's worth to try. -- wbr, pluknet