Re: unbound is extremely slow

From: Julian Elischer <julian_at_freebsd.org>
Date: Thu, 05 Dec 2013 00:26:18 +0800
On 12/4/13, 11:42 PM, Shawn Webb wrote:
> So I have unbound running in a vnet jail. Doing a lookup with `host` is
> pretty responsive, but Chromium's lookups are extremely slow (taking around
> 30 seconds to resolve). I'm running pretty much a stock config. I've tried
> turning off DNSSEC, but that doesn't help any. I have num-threads set to 4,
> though I have 8 cores on this box. I've pasted my config below.

get a Ktrace of the unbount process along with a a matching 
simultaneous tcpdump of whatever interface your packets are coming in 
through.  by matching the incoming and outgoing packets with the 
socket activity, you should be able to isolate what component is 
taking all the time.

>
> Thanks,
>
> Shawn
>
> server:
>          username: unbound
>          directory: /var/unbound
>          chroot: /var/unbound
>          pidfile: /var/run/local_unbound.pid
> #auto-trust-anchor-file: /var/unbound/root.key
>          logfile: /var/unbound/unbound.log
>          log-time-ascii: yes
>          log-queries: yes
>          verbosity: 2
>          interface: 0.0.0.0
>          interface: ::0
>          access-control: 0.0.0.0/0 allow
>          access-control: ::0/0 allow
>          prefetch: yes
>          num-threads: 4
>
> include: /var/unbound/forward.conf
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Wed Dec 04 2013 - 15:26:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC