[Unbound-users] FreeBSD + Unbound 1.0.2 error: too many file descriptors requested
tretkowski at ip-exchange.de
Mon Aug 18 15:38:46 CEST 2008
Am Montag, den 18.08.2008, 15:19 +0200 schrieb Wouter Wijngaards:
> Norbert Tretkowski wrote:
> > Unfortunately, I was wrong. Using libevent 1.4.6 does not fix the
> > problem, unbound still freezes randomly, uses 100% CPU and does not
> > answer queries.
> Which backend is libevent using? unbound at high verbosity(4) will print
> the backend that libevent is using at startup, like:
>  unbound[21633:0] debug: libevent 1.4.5 uses select method.
> On linux it defaults to epoll. That must have the bug. You can disable
> the libevent EPOLL backend with:
> EVENT_NOEPOLL=yes; export EVENT_NOEPOLL
> set this environment variable in the shell before you start unbound.
> Then it will use poll(2), which is slower, but much simpler. That could
> make your bugs go away.
You are right, it uses epoll. I'll try with poll method instead, thanks.
More information about the Unbound-users