Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntpd crashed with 'Exiting: No more memory!'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Fri Sep 10, 2004 7:08 am    Post subject: ntpd crashed with 'Exiting: No more memory!' Reply with quote

Hi everyone!

I have ntpd 4.2.0-r2 installed, but noticed this morning that it had crashed. The log has these lines:
Code:

10 Sep 07:17:55 ntpd[23509]: synchronized to 213.15.3.18, stratum=2
10 Sep 07:28:37 ntpd[23509]: time reset +0.194989 s
10 Sep 07:30:11 ntpd[23509]: Exiting: No more memory!


My server was of course NOT out of memory, so what caused this crash? And better, how do I prevent future ones?
My NTP server is part of the pool.ntp.org project, so it's kinda critical it stays up... 8)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
Kirigoe
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2003
Posts: 147
Location: concrete hut, sweden

PostPosted: Tue Sep 14, 2004 7:33 am    Post subject: Reply with quote

see this thread for some hints on why ntpd can't allocate more memory. they seem to have solved it by adding this to ntp.conf:

Code:
disable monitor
restrict default nopeer


the "nopeer" keyword will make ntpd provide time services to hosts but not use any memory for the task.

also, running "ntpdc -c memstats |grep memory" should give you some stats on the memory usage.

hope it helps!
~ kiri
_________________
+ adopt an unanswered post today!
+ kimono network monitor
+ downshift.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum