jemalloc: out of swap space

2012-05-30 Thread HIROSHI OOTA

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  pagedisks faults  
cpu
 r b w avmfre   flt  re  pi  pofr  sr ad0 ad1   in   sy   cs  
us sy id
 0 0 0  26572k   109M12   0   0   0 7   0   0   0  4027   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  pagedisks faults  
cpu
 r b w avmfre   flt  re  pi  pofr  sr ad0 ad1   in   sy   cs  
us sy id
 0 0 0  21320k86M   185   0   1   076   0   0   0  4069   97   
0  2 98


Any ideas?
--
HIROSHI OOTA
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: jemalloc: out of swap space

2012-05-30 Thread Bernhard Schmidt
On Wed, May 30, 2012 at 2:11 PM, HIROSHI OOTA n...@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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org