[ntp:questions] RC freezes at startup
mayer at ntp.isc.org
Mon May 8 03:32:29 UTC 2006
Danny Mayer wrote:
> Serge Bets wrote:
>> I compiled ntp-dev-4.2.1p247-RC on a Linux Debian Woody where
>> ntp-4.2.0b-rc1 runs OK. At startup, the daemon soon freezes: No reply to
>> any requests, and nothing more in syslog (past the first startup
>> messages). When started with -d, the daemon repeatably shows normal
>> startup lines, until the 1st network packet is received. At this precise
>> moment begins a fast never ending storm of this repeated line:
>> | receive: at 3 192.168.7.10<-192.168.7.5 mode 4 code 1 auth 0
> Please try with -D2 and not just -d. It should print out more
> information. If it is what I think then you are just looping through the
> same thing over and over again and you never get out.
Also change the following line in ntpd (line 961) from:
while (full_recvbuffs() > 0)
it's badly coded.
>> The storm is virtual, though: The network saw one packet only.
>> 192.168.7.5 is a server declared iburst in ntp.conf. If removed, the
>> storm will start with another packet, perhaps a peer:
>> | receive: at 14 192.168.7.10<-192.168.7.3 mode 1 code 1 keyid 00000001 len 48 mac 20 auth 1
>> Or sometimes 2 lines are repeated:
>> | receive: at 5 192.168.7.10<-192.168.7.13 mode 3 code 3 auth 0
>> | transmit: at 5 192.168.7.10->192.168.7.13 mode 4
>> Back to RC1 restores normal operations.
> questions mailing list
> questions at lists.ntp.isc.org
More information about the questions