<jemalloc>: out of swap space

Bernhard Schmidt bschmidt at techwires.net
Wed May 30 12:35:03 UTC 2012


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@  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@  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


More information about the freebsd-current mailing list