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

-- thorpej



Home | Main Index | Thread Index | Old Index