You are not logged in.

#1 2014-05-09 07:12:25

AstroProfundis
Member
From: Hangzhou, China
Registered: 2014-05-09
Posts: 5
Website

NTP 4.2.7p441-1 causing "(Ou)t of memory" on Linode VPS

Hello, I have upgraded ntp from 4.2.6p5 to 4.2.7p441 and it's causing "t of memory [xxxxx]" errors. The former ntp 4.2.6p5 package is fine and in my local virtual machine the new 4.2.7p441 is also fine. I can't find where got wrong on my server.

What I saw in terminal is like:

Message from syslogd@jp-linode-aspro at May  9 15:01:15 ...
 t of memory [22985]

Message from syslogd@jp-linode-aspro at May  9 15:02:17 ...
 t of memory [23011]

Message from syslogd@jp-linode-aspro at May  9 15:02:47 ...
 t of memory [23023]

and `tail /var/log/kern.log` shows:

[allen@jp-linode-aspro ~]$ tail /var/log/kern.log
May  9 15:01:11 jp-linode-aspro t of memory [22985]
May  9 15:01:11 jp-linode-aspro t of memory [22985]
May  9 15:01:13 jp-linode-aspro t of memory [22985]
May  9 15:01:13 jp-linode-aspro t of memory [22985]
May  9 15:01:15 jp-linode-aspro t of memory [22985]
May  9 15:02:17 jp-linode-aspro t of memory [23011]
May  9 15:02:47 jp-linode-aspro t of memory [23023]
May  9 15:03:23 jp-linode-aspro t of memory [23029]
May  9 15:04:10 jp-linode-aspro t of memory [23041]
May  9 15:05:03 jp-linode-aspro t of memory [23051]

It seems ntpd is running and working as the `ntpq -p` output looks fine, but I'm not very sure about this.

---- EDIT ----
NTP is working and accessible from outside the server but by checking `journalctl -xn` output it restarts every time the error occurs.
-- END EDIT --

My ntp.conf is just different servers as the original one from package:

# With the default settings below, ntpd will only synchronize your clock.
#
# For details, see:
# - the ntp.conf man page
# - http://support.ntp.org/bin/view/Support/GettingStarted
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon

# Associate to public NTP pool servers; see http://www.pool.ntp.org/
server 210.72.145.44
server ntp.tuna.tsinghua.edu.cn
server t2.hshh.org
server minx.samspin.net
server ticktock.ewha.net
server cse.inha.ac.kr
server rafi.inha.ac.kr
server clock.cuhk.edu.hk
server ntp.nict.jp
server clock.tl.fukuoka-u.ac.jp
server clock.nc.fukuoka-u.ac.jp
server ntp.nasa.gov
server ntp1.aliyun.com
server ntp2.aliyun.com

# Only allow read-only access from localhost
restrict default noquery nopeer
restrict 127.0.0.1
restrict ::1

# Location of drift file
driftfile /var/lib/ntp/ntp.drift

# NOTE: If you run dhcpcd and have lines like 'restrict' and 'fudge' appearing
# here, be sure to add '-Y -N' to the dhcpcd_ethX variables in /etc/conf.d/net

And my kernel is:

Linux jp-linode-aspro 3.14.3-3-linode #1 SMP Thu May 8 14:03:17 CST 2014 x86_64 GNU/Linux

This issue occurs on Linode's kernel as well so might not a kernel side problem.

[allen@jp-linode-aspro ~]$ free -m
             total       used       free     shared    buffers     cached
Mem:           991        924         67        111         28        526
-/+ buffers/cache:        369        621
Swap:         1023         47        976

Does anyone have idea what causes this error and how to fix it? Thanks!

Last edited by AstroProfundis (2014-05-09 09:15:15)

Offline

#2 2014-05-09 09:19:06

AstroProfundis
Member
From: Hangzhou, China
Registered: 2014-05-09
Posts: 5
Website

Re: NTP 4.2.7p441-1 causing "(Ou)t of memory" on Linode VPS

Still have no idea of this error, I have switched back to 4.2.6p5-19 now...

Offline

#3 2014-05-11 04:25:05

vanja_z
Member
Registered: 2012-04-11
Posts: 42

Re: NTP 4.2.7p441-1 causing "(Ou)t of memory" on Linode VPS

sorry I can't help but this version also introduced another problem for me,
https://bbs.archlinux.org/viewtopic.php?id=181370
maybe this can help narrow down the problem.

Offline

Board footer

Powered by FluxBB