[Unbound-users] BINDs views in unbound
wouter at NLnetLabs.nl
Fri Mar 27 13:06:59 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Artis Caune wrote:
> Now I changed interface to 0.0.0.0, ::0, disabled interface-automatic,
> changed redirect from 127.0.0.1 to public ip and it works, thanks.
> 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
> I use interface-automatic, without it unbound reply with another ip address:
> ;; reply from unexpected source: 126.96.36.199#53, expected 188.8.131.52#53
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
> yes, this is my firs unbound :)
> out setup is (average 1-2K qps):
> interface bce0: 184.108.40.206, alias 220.127.116.11
> interface bce1: only ipv6 address
> unbound config is:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Unbound-users