Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2012 14:34:33 +0200
From:      Bernhard Schmidt <bschmidt@techwires.net>
To:        HIROSHI OOTA <nil@mad.dog.cx>
Cc:        freebsd-current@freebsd.org
Subject:   Re: <jemalloc>: out of swap space
Message-ID:  <CAAgh0_YqUdkp%2BJTno8ea-sjn-7e4QVqsj=%2BjXCkCHzbdPoqZVQ@mail.gmail.com>
In-Reply-To: <op.we4etqnnb34bpo@lenovo-b0c22c0d>
References:  <op.we4etqnnb34bpo@lenovo-b0c22c0d>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 30, 2012 at 2:11 PM, HIROSHI OOTA <nil@mad.dog.cx> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAgh0_YqUdkp%2BJTno8ea-sjn-7e4QVqsj=%2BjXCkCHzbdPoqZVQ>