Maintained by: NLnet Labs

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

W.C.A. Wijngaards
Mon Dec 3 14:03:45 CET 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Leo,

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).

Best regards,
   Wouter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQvKMxAAoJEJ9vHC1+BF+N2cYQAKZPGfVbPl3irFxC/mJ7aKzB
Ndptu925R/P9Lpks1kEthIUdMglEqPl0vTRzpx5nABl6egfM0lXcewA2jg2HcO4Q
Dp3lngoqGEVBI7FpsaZwP+VRhWcEKMi/SQswwdmziV0GyXbEurVr6+A5TL4xXPtX
VXeEAOsmNw1ProgbU+XL1cqHdqHF+ef7ZROuKlDQ/CsoNb/0HaiGeG15p4pUn2ps
5E8dEL5cMT1zV6XfVw+ET7hFJPpygknhFOzhsEGJf8PYVSQRe1sHC/F133eRKLsz
nt6kbB21mrcx+XHz0vd3ZXmi8Dq1dxKdpvKZxpPJG50Bp1l6LnoNg/Vn30kuh3Li
3gGp0Ct7QVt7wW4d6QGKFz62+1NuEOh8+GkuRzb5CySWhV7dIEoqoBNeQB4IAETX
ujTvU4U5dBWZWPqoezuXInUTXh7YTE6F86h5kb4xOhD5Uno2KFOY+d1SP/lZvyNK
FFyVuo5DxOLdXtc30e5Fr86afaEnz/oJPSwULGf0lRqaXg+/Jof3ycwgDhPYtj6Z
YA96A1gj2fZ0V21QabeKzzow/HF0hGGMwjzq4yh0/vGWXEwg2yGXtdW2e58gg4cg
dJdv7YU/xvU3rPPjxTTKd0k+uR45zFUsIC9HnUMaKmefeNkP0fi6/XaHKgZ8kEsr
zK+ovBZK+LE49/T5GMS8
=H946
-----END PGP SIGNATURE-----