Maintained by: NLnet Labs

[Unbound-users] warning: increased limit(open files)

Leo Baltus
Mon Dec 3 14:14:53 CET 2012


Op 03/12/2012 om 14:03:45 +0100, schreef W.C.A. Wijngaards:
> On 12/03/2012 01:50 PM, Leo Baltus wrote:
> > Op 03/12/2012 om 13:16:47 +0100, schreef W.C.A. Wijngaards:
> >> On 12/03/2012 01:01 PM, Leo Baltus wrote:
> >>> On starting unbound I get:
> >>> 
> >>> [1354535821] unbound[13607:0] warning: increased limit(open
> >>> files) from 16384 to 33142
> >>> 
> >>> Shouldn't this be sent tot syslog or logfile?
> >> 
> >> It increases ulimit while it holds root privileges.  It then
> >> chroots and drops user privileges.  It does not have the syslog
> >> or logfile open to log to at the time when this call happens.
> >> 
> > 
> > Ah, that explains.
> > 
> > Still, it is unexpected to have something thrown out when it is
> > 'only' a warning.
> > 
> > What do you expect us to do with this warning?
> 
> Unbound is using root privileges to gain extra OS resources, resources
> that are limited for normal processes.  This messages is to tell you
> that it did so, and how many resources it took.  What you do is up to
> you: simply ignore it, calculate the number of buffers on the system,
> configure unbound to use less resources, ... (or set ulimit higher
> beforehand, and you get no warning).

Check. ulimit -H -n $number

Thanks.

So far Unbound has been a pleasure to compile and configure, thanks for
a great product and your outstanding support.

-- 
Leo Baltus, internetbeheerder                         /\
NPO ICT Internet Services                            /NPO/\
Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \  /\/
servicedesk at omroep.nl, 035-6773555                    \/