From owner-freebsd-current@FreeBSD.ORG Wed May 30 12:35:03 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0384C106566B for ; Wed, 30 May 2012 12:35:02 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6F7708FC14 for ; Wed, 30 May 2012 12:34:39 +0000 (UTC) Received: by laai10 with SMTP id i10so4370719laa.13 for ; Wed, 30 May 2012 05:34:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=bRSdnQWqPXxZi2ejNmKan8QsU71mp8TWVThxOzC279I=; b=iH3hZdRu4cdKrJOTFIXPJGMtNAjAWYdWEhGfrJDqsvQrrugAMo+hLA4Aj7gCT04dX7 T0mQT2eK5Btoi4M1B2PhN0WZgw7cKFZm2GWlZrVnxDyg8MwdF3I+TXnXXBtTjszCihEk ox3Dq9fe56QKJfNm0mI51v7EQGaztlkBeVAW5ghbfW8/9OK2AkFkWWbYsICcVGdF1KPY voN0GLY/BuEt5ot991yWcKKH77ttJsZzm3Xe3gmbaSDT8RgEESxob3+riqVKm4mF+rAr lP112lwziBwvZK9aMe9rONCsAshDU1psxfvEWNRabEbaLlQHoo9GRLNtHgdAtW71LpSP ibag== MIME-Version: 1.0 Received: by 10.152.102.234 with SMTP id fr10mr15595005lab.32.1338381273191; Wed, 30 May 2012 05:34:33 -0700 (PDT) Received: by 10.152.24.129 with HTTP; Wed, 30 May 2012 05:34:33 -0700 (PDT) X-Originating-IP: [79.140.39.245] In-Reply-To: References: Date: Wed, 30 May 2012 14:34:33 +0200 Message-ID: From: Bernhard Schmidt To: HIROSHI OOTA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlo/h5e+zeznbXXCL4JOnXXnEGd8/AxLXFJOK070q2xdSY5LOjpYFzcxoixN0xv1prJoPh3 Cc: freebsd-current@freebsd.org Subject: Re: : out of swap space X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 30 May 2012 12:35:03 -0000 On Wed, May 30, 2012 at 2:11 PM, HIROSHI OOTA wrote: > Hi all, > my PCEngine's wrap(NanoBSD, i386, 128Mbytes mem, no swap) won't start, af= ter > updating to r234569. > some of daemons was killed with the message 'out of swap space'. > > vmstat in single user mode as: > ------- =A0r234568(works fine) > # uname -a > FreeBSD =A010.0-CURRENT FreeBSD 10.0-CURRENT #0 r234568: =A0 root@ =A0i38= 6 > # vmstat > =A0procs =A0 =A0 =A0memory =A0 =A0 =A0page =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0disks =A0 =A0 faults =A0 =A0 =A0 =A0 cpu > =A0r b w =A0 =A0 avm =A0 =A0fre =A0 flt =A0re =A0pi =A0po =A0 =A0fr =A0sr= ad0 ad1 =A0 in =A0 sy =A0 cs us > sy id > =A00 0 0 =A026572k =A0 109M =A0 =A012 =A0 0 =A0 0 =A0 0 =A0 =A0 7 =A0 0 = =A0 0 =A0 0 =A0402 =A0 =A07 =A0 78 =A00 > =A01 99 > > ------- =A0r234569(does not work) > # uname -a > FreeBSD =A010.0-CURRENT FreeBSD 10.0-CURRENT #0 r234569: =A0 root@ =A0i38= 6 > # vmstat > =A0procs =A0 =A0 =A0memory =A0 =A0 =A0page =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0disks =A0 =A0 faults =A0 =A0 =A0 =A0 cpu > =A0r b w =A0 =A0 avm =A0 =A0fre =A0 flt =A0re =A0pi =A0po =A0 =A0fr =A0sr= ad0 ad1 =A0 in =A0 sy =A0 cs us > sy id > =A00 0 0 =A021320k =A0 =A086M =A0 185 =A0 0 =A0 1 =A0 0 =A0 =A076 =A0 0 = =A0 0 =A0 0 =A0406 =A0 =A09 =A0 97 =A00 > =A02 98 > > Any ideas? I've been running into the same issue on my Alix boards, defining MALLOC_PRODUCTION in src.conf fixed it. Alternatively you can bump kmem size (cant remember the exact knob, basically what most ZFS tuning guides recommend), but this is less effective as mem usage is still way to high. HTH --=20 Bernhard