From owner-freebsd-stable@FreeBSD.ORG Thu Oct 11 15:32:36 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 946AE96D for ; Thu, 11 Oct 2012 15:32:36 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6529B8FC08 for ; Thu, 11 Oct 2012 15:32:36 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so2036606pad.13 for ; Thu, 11 Oct 2012 08:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=bDcFbnREm1Mh4VaJj3KR/IigVZLyO+Xe6S8AzjDcQHQ=; b=b8gfgFZAOUz/2tvyzd5ymxeA2EHEm2K5Z9nsDXR/aJ10P1LDQ1D490tj9DgwLaiEAm 4RKufuexKzeSlaQKJJvS0U6DcmRtnOONlOhWWLlGVY835zK6fxr3r/p606KUox7tpFk1 H5znF1JMkuFJ9ITVj7cOPcv/DQCq18oc/N1FJfOOfA0tOUJgA/09/5hgusoD5iKF9Brp KOlq34WMZz6VVXw7TnD7u0gVqidxXT2MOYlmRfleyDekNDw3ygwD3K8lmqvQ/fYOaCrU uxFkE7314xs4NUF6eM0Yi201vIIRW20LPAWS2RXxh5K1xNpnheBr2S8blWFpklGDZMDU bSAQ== Received: by 10.68.212.74 with SMTP id ni10mr4794013pbc.20.1349969556216; Thu, 11 Oct 2012 08:32:36 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id nd6sm2893045pbc.68.2012.10.11.08.32.33 (version=SSLv3 cipher=OTHER); Thu, 11 Oct 2012 08:32:35 -0700 (PDT) Message-ID: <5076E68F.3070109@gmail.com> Date: Thu, 11 Oct 2012 18:32:31 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121011 Thunderbird/16.0 MIME-Version: 1.0 To: stable@freebsd.org Subject: kern.maxswzone is gone... what next? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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:32:36 -0000 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 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. -- Sphinx of black quartz, judge my vow.