NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install/56582: port-atari freeze on installation when extracting base.tgz
On Thu, 30 Dec 2021 at 14:49, Jason Thorpe <thorpej%me.com@localhost> wrote:
>
> > On Dec 30, 2021, at 12:10 AM, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
>
> > mlockall() returns ENOMEM when the system- or per-process-limit is exceeded,
> > you can ignore it. Worst thing is that ntpd gets swapped out and cannot
> > sync time anymore.
> >
> > ntpd uses about 7MB RAM (about 3MB shared). You probably don't want
> > to have this locked in memory on a small machine. Adding
> >
> > rlimit memlock -1
> >
> > to ntp.conf should prevent it from trying.
>
> I wonder if we should add a heuristic in ntpd to auto-tune for this.
I'd be loudly in favour of this - people should be able to set things
explicitly, but we really should be defaulting more things based on
current memory and or relative compute level.
David
Home |
Main Index |
Thread Index |
Old Index