[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] time jumping back and forth

> > Are you 100% sure you haven't got ntpdate running in your startup
> > scripts or crontab? It should be ignored, but its possible that
> > the port from 2.4 to 2.6 wasn't quite right.
> Yup. There's nothing in the running processes that should try to mess
> with the clock; in the init scripts, the only thing that does try is
> hwclock, and that bails out because it tries to to I/O access and
> can't -- and even if it could, it's a one-time thing, and I'm seeing
> jumps long after it tries to run.
> Now that I've written a few lines of perl to report time jumps, I
> don't see them. Heisenbug.

I've got a little program that does successive calls to
gettimeofday to look for such problems, and I haven't seen any
such issues in quite a while.

I presume syslogd uses gettimeofday to figure out what the time is?
It might be worth strace'ing it to see if you can catch things
going wrong.


This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.