public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Klaus Dittrich <kladit@arcor.de>
To: Valdis.Kletnieks@vt.edu
Cc: linux mailing-list <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.14-rc* / xinetd
Date: Wed, 12 Oct 2005 20:27:00 +0200	[thread overview]
Message-ID: <434D5574.10405@arcor.de> (raw)
In-Reply-To: <200510121745.j9CHj6XE023497@turing-police.cc.vt.edu>

Valdis.Kletnieks@vt.edu 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
>  
>

2.6.13.3 works. I can compile an try 2.6.14-rc[1,2,3].

service time
{
    type        = INTERNAL
    id          = dgram_time
    socket_type = dgram
    protocol    = udp
    user        = root
    wait        = yes
    only_from   = 192.168.168.36 192.168.168.39
}


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

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


  reply	other threads:[~2005-10-12 18:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-12 14:36 2.6.14-rc* / xinetd Klaus Dittrich
2005-10-12 17:45 ` Valdis.Kletnieks
2005-10-12 18:27   ` Klaus Dittrich [this message]
2005-10-12 20:13     ` Valdis.Kletnieks
2005-10-13  7:02       ` Klaus Dittrich
2005-10-13 11:08       ` Klaus Dittrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434D5574.10405@arcor.de \
    --to=kladit@arcor.de \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox