Unbound memory resource consumption?

Havard Eidnes he at uninett.no
Thu Mar 13 09:07:00 UTC 2025


> You want to disable Linux transparent hugepage feature (that is a real mess
> with Unbound – and not only Unbound actually) if not already done.
>
> apt install sysfsutils
> echo "kernel/mm/transparent_hugepage/enabled = madvise" >>
> /etc/sysfs.d/transparent_hugepage.conf
> echo "kernel/mm/transparent_hugepage/defrag = madvise" >>
> /etc/sysfs.d/transparent_hugepage.conf
> systemctl restart sysfsutils
> systemctl restart unbound

Thanks for the reply / hint.

Unfortunately, this does not apply in this case, quoting from the
tail of my message from yesterday:

   And lastly, this is on NetBSD/amd64 10.0, using net/unbound
   packaged from pkgsrc.

Just FYI, unbound is continuing to balloon, this is the same
instance as started yesterday:

load averages:  1.00,  1.10,  1.02;               up 5+20:37:29        10:03:58
76 processes: 73 sleeping, 1 stopped, 2 on CPU
CPU states: 20.7% user,  0.0% nice,  3.4% system,  1.0% interrupt, 74.9% idle
Memory: 12G Act, 164M Inact, 17M Wired, 27M Exec, 2366M File, 8135M Free
Swap: 14G Total, 38M Used, 14G Free / Pools: 3147M Used / Network: 2298K In, 33

  PID USERNAME PRI NICE   SIZE   RES STATE       TIME   WCPU    CPU COMMAND
14678 unbound   38    0    18G 9875M CPU/3     669:49   103%   103% unbound

Regards,

- Håvard


More information about the Unbound-users mailing list