Maintained by: NLnet Labs

[Unbound-users] unbound should probably manage other RLIMITs as well...

Tony Finch
Wed Oct 28 15:44:00 CET 2009


On Wed, 28 Oct 2009, W.C.A. Wijngaards wrote:
>
> > I think Unbound should probably try to manage other of its RLIMIT values
> > besides just the number of open files.
>
> I am hesitant, based on 'code bloat' reasons to do this.  I see this is
> something for BSD and Solaris mostly as Linux does not impose limits by
> default it seems.

Why not try to auto-size the various memory pools based on the memory
rlimit, and warn if configured pool sizes are likely to exceed the rlimit?

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.