Re: 2.6.14-rc* / xinetd

From: Klaus Dittrich
Date: Wed Oct 12 2005 - 13:30:36 EST

Valdis.Kletnieks@xxxxxx wrote:

On Wed, 12 Oct 2005 16:36:57 +0200, Klaus Dittrich said:

I noticed a huge cpu usage of xinetd with 2.6.14-rc4 starting with the first ntp request.

Umm.. why is xinetd listening for ntp requests at all? I'm pretty sure that
xinetd fighting with xntpd for control of the socket isn't going to work nicely,
although I admit being mystified as to (a) why this ever worked for you and
(b) what specifically changed in -rc4 to cause the CPU spin.

What was the most recent kernel known to work, and what does the xinetd
config file entry for NTP look like works. I can compile an try 2.6.14-rc[1,2,3].

service time
id = dgram_time
socket_type = dgram
protocol = udp
user = root
wait = yes
only_from =

This setup worked for years now. The machine
( is the time-server and I have
chosen this setup to simulate and verify a real
world scenario.

driftfile /etc/ntp.drift
logfile /var/log/ntp #authenticate no
server prefer mode 2 # Meinberg ANZ_14 (Standart Telegramm)
server # Local clock in case of disaster
fudge stratum 10 # Poor stratum for local clock

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at