From owner-freebsd-stable@FreeBSD.ORG Fri Oct 12 07:06:13 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 1D1EB899 for ; Fri, 12 Oct 2012 07:06:13 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6256D8FC12 for ; Fri, 12 Oct 2012 07:06:12 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA11228; Fri, 12 Oct 2012 10:06:03 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TMZJq-00031K-TQ; Fri, 12 Oct 2012 10:06:02 +0300 Message-ID: <5077C159.7020408@FreeBSD.org> Date: Fri, 12 Oct 2012 10:06:01 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120913 Thunderbird/15.0.1 MIME-Version: 1.0 To: Volodymyr Kostyrko Subject: Re: kern.maxswzone is gone... what next? References: <5076E68F.3070109@gmail.com> <5076E7EC.9080700@gmail.com> <5076F38B.1010306@FreeBSD.org> <5077BFB5.4050701@gmail.com> In-Reply-To: <5077BFB5.4050701@gmail.com> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org, Sergey Kandaurov 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: Fri, 12 Oct 2012 07:06:13 -0000 on 12/10/2012 09:59 Volodymyr Kostyrko said the following: > 11.10.2012 19:27, Andriy Gapon wrote: >>>> 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? >>> >>> 2G >> >> >> What does vmstat -z | fgrep -i swap show? > > SWAPMETA: 288, 252902, 363, 339, 38104, 0, 0 > Hmm... this should be enough to cover for almost 16GB of swap. Maybe there is some bug which could lead to over-allocation of swap blocks. -- Andriy Gapon