Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Dec 2013 00:26:18 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Shawn Webb <lattera@gmail.com>, FreeBSD-current <freebsd-current@freebsd.org>
Subject:   Re: unbound is extremely slow
Message-ID:  <529F57AA.1000402@freebsd.org>
In-Reply-To: <CADt0fhwS0Xs8dOBp9bK5%2BwLa9r_bYeP=OgOqBgACy9QQHt9h3A@mail.gmail.com>
References:  <CADt0fhwS0Xs8dOBp9bK5%2BwLa9r_bYeP=OgOqBgACy9QQHt9h3A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?529F57AA.1000402>