View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Excessive timesynch ?
PostPosted: Fri Oct 08, 2010 7:10 am 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
I was reading the 'everything' log on a 6.03 machine that appears to be working normally and ran across this:

Oct 8 02:55:04 mythbox101 ntpd[4992]: synchronized to 66.79.152.35, stratum 2
Oct 8 03:09:34 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 03:29:43 mythbox101 ntpd[4992]: synchronized to 66.79.152.35, stratum 2
Oct 8 03:46:17 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 03:50:11 mythbox101 ntpd[4992]: synchronized to 66.79.152.35, stratum 2
Oct 8 04:19:13 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 04:37:51 mythbox101 ntpd[4992]: synchronized to 208.77.19.5, stratum 2
Oct 8 06:36:55 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 06:58:20 mythbox101 ntpd[4992]: synchronized to 66.79.152.35, stratum 2
Oct 8 07:14:05 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 03:29:43 mythbox101 ntpd[4992]: synchronized to 66.79.152.35, stratum 2
Oct 8 03:46:17 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 03:50:11 mythbox101 ntpd[4992]: synchronized to 66.79.152.35, stratum 2
Oct 8 04:19:13 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 04:37:51 mythbox101 ntpd[4992]: synchronized to 208.77.19.5, stratum 2
Oct 8 06:36:55 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 06:58:20 mythbox101 ntpd[4992]: synchronized to 66.79.152.35, stratum 2
Oct 8 07:14:05 mythbox101 ntpd[4992]: synchronized to 69.65.40.29, stratum 2
Oct 8 07:31:10 mythbox101 ntpd[4992]: synchronized to 208.77.19.5, stratum 2

Why is the box synching on so many timeservers, and is this normal, or are there 'sych' settings in more than one place tripping over each other ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 09, 2010 1:14 pm 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
Note to self: Checking two other 'normal running' machines... they were doing this too.....


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 10, 2010 4:14 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
snaproll wrote:
Note to self: Checking two other 'normal running' machines... they were doing this too.....


That's funny. Mine wasn't checking at all! Had to install ntpdate and now do manual updates.

Have you tried specifying just two ntp servers in your ntpd.conf?

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 11, 2010 8:44 am 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
So the /etc/ntp.conf file contained this... as part of the original install- I didn't specify anything..

# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example

# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will
# pick a different set every time it starts up. Please consider joining the
# pool: <http://www.pool.ntp.org/join.html>
server pool.ntp.org
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst

So it looks like this was the intention of the developers.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 12, 2010 6:32 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
Try replacing the pool servers with one or two entries with IP addresses obtained from your first post.

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 13, 2010 7:24 am 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
manicmike wrote:
Try replacing the pool servers with one or two entries with IP addresses obtained from your first post.

The ntp.conf file contains the 'pool servers' above, but is (today) synching on the three IPs in the first post (without them being set in the .conf file) [Scratching head...]
Looks like the lines in the first post....

The machine is set for a simple one a week synch through Webmin and there I have the server time.windows.com specified.

I'm still puzzled as to how many places call a time synch.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 13, 2010 5:14 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
snaproll wrote:
The ntp.conf file contains the 'pool servers' above, but is (today) synching on the three IPs in the first post (without them being set in the .conf file) [Scratching head...]


Maybe it's not obvious then. The ones in the list are part of the pool. A URL doesn't necessarily resolve to just one IP address.

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 15, 2010 1:34 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
snaproll wrote:
I'm still puzzled as to how many places call a time synch.
From your log, only one thing is doing the timesync: ntpd. It is a daemon that is typically running all the time.

The reason you so so many sync logs is that ntpd does not set the time directly. It changes the speed of the clock very slightly and waits for it to sync on it's own. Those messages are when it achieves sync. When it drifts too far away from sync again, it changes the clock skew and waits for it to sync again.

It is best to sync to a pool instead of a particular machine. This avoids overloading one machine and means your ntp will still work if that machine is taken down. Generally all machines in a pool are synced to the same stratum 1 box, so to a stratum 3 box (i.e. your box), they can be considered identical.

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 15, 2010 6:15 am 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
Thanks, alien !

I was looking for an edjumication as to what's going on .......

:D

So if LH runs ntpd by default, what happens when Webmin is used to turn on a periodic synch using a specified timeserver ? Redundant ? Cross-purposes ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 15, 2010 7:22 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
snaproll wrote:
So if LH runs ntpd by default, what happens when Webmin is used to turn on a periodic synch using a specified timeserver ? Redundant ? Cross-purposes ?
I think webadmin uses ntpdate which just sets the time directly instead of smoothly like ntpd. Better to use ntpd as jumps in time can cause odd behaviour.

Webadmin might be useful if the clock is more than an hour off in which case ntpd won't be able to fix it in a reasonable amount of time.

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 15, 2010 9:50 am 
Offline
Joined: Sun Jul 24, 2005 4:16 pm
Posts: 508
Location: Ft. Worth TX
..So the Webmin time synch would best be left 'off' .....


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2010 1:03 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
yep :D

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 171 guests


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu