1827395 Members
5446 Online
109965 Solutions
New Discussion

Re: NTP frequency ?

 
Debbie Fleith
Regular Advisor

NTP frequency ?

How often does ntpd poll a time server to check if updates are needed?
7 REPLIES 7
Ivan Ferreira
Honored Contributor

Re: NTP frequency ?

You can identify that information from the ntpq -pn command, the poll column. You can use also the minpoll and maxpoll configuration options.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Debbie Fleith
Regular Advisor

Re: NTP frequency ?

What does the number in the poll column refere to? Mine says 64, is that 64 seconds/minutes or ?
Al Licause
Trusted Contributor

Re: NTP frequency ?

My notes say the poll interval displayed from ntpq is in seconds. The man page doesn't give that level of detail.....unfortunate.
Ivan Ferreira
Honored Contributor

Re: NTP frequency ?

minpoll #
maxpoll #

Specify the minimum and maximum polling interval for NTP messages, in seconds to the power of two. The default range is 6 (64 seconds) to 10(1024 seconds). The allowable range is 4 (16 seconds) to 17 (36.4 h) inclusive.


So, what you see is in the output of ntpq is seconds.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
rick jones
Honored Contributor

Re: NTP frequency ?

The limits to poll frequency have already been stated - as NTP decides that things are "stable" it will increase the interval between queries of the time servers (one should always have at least two time servers configured...)

If the poll frequency remains high (ie a small interval between queries) it suggests that either NTP does not yet think things are sufficiently stable, or it has decided that things cannot become sufficiently stable to allow a longer polling interval.
there is no rest for the wicked yet the virtuous have no pillows
Steven E. Protter
Exalted Contributor

Re: NTP frequency ?

Shalom,

The default in ntp.conf has always worked for me.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
timmy2006
Advisor

Re: NTP frequency ?

ntpd can somehow crash or failed to start and almost always you will notice it when log dates will differ with other machines.
i prefer to use ntpdate 'ip' in cron sheduled to start every 15'.