[Unbound-users] BINDs views in unbound

W.C.A. Wijngaards wouter at NLnetLabs.nl
Fri Mar 27 13:06:59 UTC 2009

Hash: SHA1

Hi Artis,

Artis Caune wrote:
> Now I changed interface to, ::0, disabled interface-automatic,
> changed redirect from to public ip and it works, thanks.

Oh great!

> I have another strange problem, unbound is freezing and not answering
> queries. It happened two times. I can not restart it.
> It just prints
>     info: service stopped (unbound 1.2.1)
> and I have to send KILL signal to it.
> It happens often when I restart unbound. top shows it's in umtxn state:
> 10784     59      4  47    0   539M   479M umtxn  0   2:20  0.00% unbound

This looks similar to pthread_mutex_destroy() hang in FreeBSD7 reported
last year, same umtxn state.  Bit of searching revealed no workaround.
When did you last update your freebsd; may be different in 7-STABLE
versus 7-CURRENT; or cvsup... ?

If you cannot get (I assume this is a pthread problem) it fixed, one
workaround is to compile unbound, configure --without-pthreads .  It
uses 4x as much memory as before, but doesn't call
pthread_mutex_destroy() anymore...

> I use interface-automatic, without it unbound reply with another ip address:
> ;; reply from unexpected source:, expected

You can solve this using interface-automatic yes, but also with:
This sort of problem happens when you have aliases on the interface; the
problem is that it is hard to tell the kernel where to reply from (apart
from weird socket options(interface-automatic) or different sockets (the
above config)).

> yes, this is my firs unbound :)
> out setup is (average 1-2K qps):
> interface bce0:, alias
> interface bce1: only ipv6 address
> unbound-1.2.1
> libevent-1.4.9
> unbound config is:

Best regards,
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the Unbound-users mailing list