From owner-freebsd-stable@FreeBSD.ORG Thu Oct 11 15:50:03 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 6641B505 for ; Thu, 11 Oct 2012 15:50:03 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1ED098FC08 for ; Thu, 11 Oct 2012 15:50:01 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so2476826obb.13 for ; Thu, 11 Oct 2012 08:50:01 -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=8/dHFVL8tAdykEhOhyD+8W879TFA6whQCZdb/dprQ0M=; b=JrhnAeKYnpLZ0vJc5zGvlLOi/Ym5MFUhLfAFrJbsXXDA+jVfXG9NxoW+sQbCiTd5ae wfj5Xs6+KgZVBC7ognzxBiZgbw7HUebwxsIr5FdV9X99FKPMLGHlJRkjLbSlD7bOtzos UNyduSRvYvC/On7CEjdtsZQNy0fN0qC91YGSqSupBI4mwhcJ7VTmqe30ZdNSjSPf44KD KoyUvjT8AQvNnVzYjDDJTQvMsh9h7HrJ3sEA3fa0NcWyJ/FAACv3mR/TWqE+SAvgypLE 5yrEwGPUj3sAxjtFI4eN5Q136dS3ysEkO2MS6ZaedZTN6vvRnzsCunrbs6GJWmgm+EK0 G8Bw== MIME-Version: 1.0 Received: by 10.182.110.40 with SMTP id hx8mr1072239obb.47.1349970601390; Thu, 11 Oct 2012 08:50:01 -0700 (PDT) Received: by 10.60.9.229 with HTTP; Thu, 11 Oct 2012 08:50:01 -0700 (PDT) In-Reply-To: <5076E7EC.9080700@gmail.com> References: <5076E68F.3070109@gmail.com> <5076E7EC.9080700@gmail.com> Date: Thu, 11 Oct 2012 15:50:01 +0000 Message-ID: Subject: Re: kern.maxswzone is gone... what next? From: Andreas Nilsson To: Volodymyr Kostyrko Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 11 Oct 2012 15:50:03 -0000 On Thu, Oct 11, 2012 at 3:38 PM, Volodymyr Kostyrko wrote: > 11.10.2012 18:37, Sergey Kandaurov 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 > > I can chime in with the exact same error. I was using poudriere to build some ports, and on apache-oo the machine actually had a kernel panic. Machine has 16gb of ram and 16gb swap. I had top running (update every 1 sec) and there was >10gb of swap free when panic happened. The OS is fbsd 9.1-PRERELEASE, from before problematic changes with nullfs/zfs interaction. Best regards Andreas