[ntp:hackers] out of memory with rc1!

Danny Mayer mayer at ntp.isc.org
Wed Mar 15 04:33:24 UTC 2006


John Pettitt wrote:
> 
> I switched my stratum one box to rc1 and it's died twice with "out of memory" - has anybody else
> seen this?
> 
> FreeBSD 5.4 on a Soekris 4801, unmodified rc1 code (configure, make, make install)
> 
>> Mar 14 03:11:49 gatekeeper.no-such-agency.net ntpd[51354]: Exiting: No more memory!
> 
> ntp.conf has
> 
> driftfile /var/db/ntpd.drift
> keys /etc/ntp.keys
> trustedkey 1
> enable auth
> filegen peerstats file peerstats type day enable
> filegen loopstats file loopstats type day enable
> filegen clockstats file clockstats type day enable
> discard average 30
> discard minimum 3
> restrict default kod nomodify limited
> restrict 127.0.0.1
> restrict 192.168.2.0 mask 255.255.255.0
> restrict 192.168.3.0 mask 255.255.255.0
> restrict 64.142.114.146
> tos mindist 0.01
> server 127.127.20.0  mode 2 version 4 prefer minpoll 6 maxpoll 6
> fudge 127.127.20.0 flag3 1

Can you comment out your NMEA refclock and see if it stabilizes? You
shouldn't see it increasing memory by much after the first few minutes.

Thanks,

Danny


More information about the hackers mailing list