On Tue, Sep 15, 2009 at 7:48 PM, Mike Ayers <mike_ay...@tvworks.com> wrote:
>
> > From: Bart Van Assche [mailto:bart.vanass...@gmail.com]
> > Sent: Monday, September 14, 2009 11:22 PM
>
> > >> Thanks, let me know if you have an idea for a fix? It is easy to
> > >> reproduce. Just let snmp agent run then set the system date and time
> > >> backwards.
> > >
> > > What is the operational requirement for setting the clock
> > backwards?  A remote-managed time machine?
> >
> > Please make yourself familiar with the operation of the ntpd process.
> > ntpd can set the clock backwards, and this is a well documented aspect
> > of the ntpd process.
>
>        Perhaps I misunderstand.  NTPD, in normal operation, changes the 
> clocks by tiny amounts.  As I read the problem, adjusting the clock backwards 
> by ten microseconds would cause the snmp_select_info() call to not return 
> until at least ten more microseconds had lapsed.  This should hardly cause 
> any real problem.  Is the issue more severe than this?

Small differences between the reference clock and the local clock will
be applied gradually, large differences will be applied at once. This
is configurable via the "tinker step" parameter in ntp.conf, which
defaults to 0.128s. See also
http://www.cis.udel.edu/~mills/ntp/html/miscopt.html.

Bart.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to