Re: <jemalloc>: out of swap space

From: Bernhard Schmidt <bschmidt_at_techwires.net>
Date: Wed, 30 May 2012 14:34:33 +0200
On Wed, May 30, 2012 at 2:11 PM, HIROSHI OOTA <nil_at_mad.dog.cx> wrote:
> Hi all,
> my PCEngine's wrap(NanoBSD, i386, 128Mbytes mem, no swap) won't start, after
> updating to r234569.
> some of daemons was killed with the message 'out of swap space'.
>
> vmstat in single user mode as:
> -------  r234568(works fine)
> # uname -a
> FreeBSD  10.0-CURRENT FreeBSD 10.0-CURRENT #0 r234568:   root_at_  i386
> # vmstat
>  procs      memory      page                    disks     faults         cpu
>  r b w     avm    fre   flt  re  pi  po    fr  sr ad0 ad1   in   sy   cs us
> sy id
>  0 0 0  26572k   109M    12   0   0   0     7   0   0   0  402    7   78  0
>  1 99
>
> -------  r234569(does not work)
> # uname -a
> FreeBSD  10.0-CURRENT FreeBSD 10.0-CURRENT #0 r234569:   root_at_  i386
> # vmstat
>  procs      memory      page                    disks     faults         cpu
>  r b w     avm    fre   flt  re  pi  po    fr  sr ad0 ad1   in   sy   cs us
> sy id
>  0 0 0  21320k    86M   185   0   1   0    76   0   0   0  406    9   97  0
>  2 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

-- 
Bernhard
Received on Wed May 30 2012 - 10:35:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC