[Unbound-users] BINDs views in unbound
W.C.A. Wijngaards
wouter at NLnetLabs.nl
Fri Mar 27 13:06:59 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Artis,
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.
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: 91.198.156.20#53, expected 91.198.156.8#53
You can solve this using interface-automatic yes, but also with:
interface: 91.198.156.20
interface: 91.198.156.8
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: 91.198.156.20, alias 91.198.156.8
> interface bce1: only ipv6 address
>
> unbound-1.2.1
> libevent-1.4.9
>
>
> unbound config is:
nice.
Best regards,
Wouter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEUEARECAAYFAknMz3MACgkQkDLqNwOhpPgWlQCfYl8G3p1uajMIBu82i+D4rkvh
KqoAl3MAvPmN7l015DJAl0ZTblqSmTY=
=o+lz
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list