Unbound memory resource consumption?

Havard Eidnes he at uninett.no
Fri Mar 14 11:05:50 UTC 2025


> I suspect there may be a leak in the DoH library. Not in
> unbound itself. I have had it running in uptime for years
> without any signs of leaks. However, I had a precedent for a
> leak in one of the setups with a DoH library (third-party).

That's possible.  Of the external dependencies for this package
in our setup the only plausible candidate is nghttp2, and the
installed version is 1.64.0.  The dynamic dependencies of unbound
are:

% ldd /usr/pkg/sbin/unbound
/usr/pkg/sbin/unbound:
        -lunbound.8 => /usr/pkg/lib/libunbound.so.8
        -lssl.15 => /usr/lib/libssl.so.15
        -lcrypto.15 => /usr/lib/libcrypto.so.15
        -lcrypt.1 => /lib/libcrypt.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lutil.7 => /usr/lib/libutil.so.7
        -levent.5 => /usr/lib/libevent.so.5
        -lpthread.1 => /usr/lib/libpthread.so.1
        -lnghttp2.14 => /usr/pkg/lib/libnghttp2.so.14
%

I would think this is a "garden-variety" configuration?

Regards,

- Håvard


More information about the Unbound-users mailing list