Hi,

found this posting back from 2013 and wondering if there was ever a commit on the proposed patch?

http://openbsd-archive.7691.n7.nabble.com/PATCH-mlockall-problem-in-OpenBSD-5-2-td166000.html


I'm running current (6.1 GENERIC.MP#99 amd64) and keep getting this message when trying to start ntp from @ports:


ntpd 4.2.8p10@1.3728-o Fri Jun  2 02:18:56 UTC 2017 (1): Starting

mlockall(): Cannot allocate memory

fatal out of memory (32 bytes)


"top" is showing that I have 5.6GB memory Free so it definitely isn't a memory issue as I'm sure unless there was a leak that ntpd wouldn't use 'that' much.....


As writing I managed to start the daemon manually by issuing /usr/local/sbin/ntpd from the cli; checking /var/log/messages these are the errors coming up:


ntpd 4.2.8p10@1.3728-o Fri Jun  2 02:18:56 UTC 2017 (1): Starting

mlockall(): Cannot allocate memory

./../lib/isc/unix/ifiter_getifaddrs.c:99: unexpected error:

getting interface addresses: getifaddrs: Cannot allocate memory



If this is an interface issue, I just killed the process and tried to issue the command: /usr/local/sbin/ntpd -I vlan(num)


and unfortunately again it is bombing out with the above error :-(


Can anyone offer any inspiration on this?


Many thanks.


Kaya

ntpd 4.2.8p10@1.3728-o Fri Jun  2 02:18:56 UTC 2017 (1): Starting

fatal out of memory (32 bytes)

fatal out of memory (32 bytes)

Reply via email to