Maintained by: NLnet Labs

[Unbound-users] Slowly memory leak?

fwkh7691 at nifty.com
Thu May 17 16:25:07 CEST 2012


Hi all.

I'm using unbound 1.4.16 with following server.
====================
FreeBSD9.0(32bit)
RAM 4GB
1 CPU
====================

unbound.conf:
====================
msg-cache-size: 250m
rrset-cache-size: 500m
module-config: "iterator"
====================

I checked cache memories using "unbound-control stats_noreset".
Increment of msg cache memory is stop at 266MB.
Increment of RRset cache memory is stop at 532MB.

But, increment of memory usage is not stop.
I checked it using ps command. The result is following.
==============================
# date ; ps aux | head -3
Thu May 17 22:52:40 JST 2012
USER      PID  %CPU %MEM    VSZ    RSS  TT  STAT STARTED        TIME COMMAND
root       11  99.0  0.0      0      8  ??  RL   13Apr12 48831:35.16 [idle]
unbound 14313   5.0 68.6 1445512 1426924  ??  Ss   17Apr12   175:47.60 /usr/lo
cal/sbin/unbound

# date ; ps aux | head -3
Thu May 17 23:11:18 JST 2012
USER      PID  %CPU %MEM    VSZ    RSS  TT  STAT STARTED        TIME COMMAND
root       11  94.0  0.0      0      8  ??  RL   13Apr12 48848:17.65 [idle]
unbound 14313   5.0 68.6 1445512 1426944  ??  Ss   17Apr12   177:11.51 /usr/lo
cal/sbin/unbound

Thu May 17 23:22:47 JST 2012
USER      PID  %CPU %MEM    VSZ    RSS  TT  STAT STARTED        TIME COMMAND
root       11  90.0  0.0      0      8  ??  RL   13Apr12 48858:33.42 [idle]
unbound 14313   6.9 68.6 1445512 1427020  ??  Ss   17Apr12   178:04.08 /usr/lo
cal/sbin/unbound
==============================
- Continuously incremented.
  But, not always. Sometimes this increment is stop.
- This increment is not synchronized with the number of queries.

Thanks.

--
Tomoki BENIYA <fwkh7691 at nifty.com>