NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: named limits
On Wed, Jul 24, 2019 at 01:53:04PM +0300, Dima Veselov wrote:
> Greetings,
>
> My named is complaining about stack size, so I tried to
> raise ulimit. I found that usual construction in
> /etc/rc.conf.d/named
>
> start_precmd="set_limits"
> set_limits()
> {
> ulimit -s 131072
> }
>
> will not work, because it overwrite existing start_precmd
> from /etc/rc.d/named
>
> What is the right way to raise ulimit for specific daemon?
Maybe:
start_precmd="set_limits"
set_limits()
{
ulimit -s 131072
named_precmd
}
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index