Maintained by: NLnet Labs

[Unbound-users] Resolving Timeouts/Issues

Dave Ellis
Thu Oct 9 17:19:27 CEST 2008


We have success! I compiled with:

./configure --without-pthreads --without-solaris-threads

And changed the config:
outgoing-range: 900

It seems the threads are much closer to being balanced. Top shows all 8
threads running lose to the same usage. 

The only thing odd, I am still getting these errors in the logs:
[1223543388] unbound[3440:1] error: accept failed: Resource temporarily
unavailable
[1223543388] unbound[3440:1] info: remote address is 72.249.76.123 port
58890

--

And for future reference, here is my working config. Any other comments
or suggestions?

cat unbound.conf
       # unbound.conf(5) config file for unbound(8).
       server:
	directory: "/usr/local/etc/unbound" 
	username: unbound 
	chroot: "/usr/local/etc/unbound"
	logfile: "/usr/local/etc/unbound/unbound.log" 
	pidfile: "/usr/local/etc/unbound/unbound.pid"
	interface: 0.0.0.0
	access-control: 0.0.0.0/0 allow
	root-hints: "/usr/local/etc/unbound/named.cache"
	do-ip6: no
	outgoing-num-tcp: 30
	incoming-num-tcp: 30
	outgoing-range: 900
	num-queries-per-thread: 16384
	rrset-cache-size: 1024m
	msg-cache-size: 512m	
	msg-cache-slabs: 8
	statistics-interval: 3600
	num-threads: 8