Re: [chrony-dev] makestep command sometimes makes chrony stop reading its sources |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
On Thu, Jan 21, 2010 at 12:46:30PM +0100, Hattink, Tjalling (FINT) wrote:
> I've applied the patch but when i executed makestep when the system
> clock was one year in the past it made the offset twice as large (2
> years in the past) and eventually chronyd freezed (100% cpu load)
> after makestep was issued multiple times in a row.
The freeze is probably worth investigating.
> I think the signs in the LCL_AccumulateOffset and LCL_ApplyStepOffset
> calls in LCL_MakeStep are wrong so I changed it to:
>
> LCL_AccumulateOffset(correction);
> LCL_ApplyStepOffset(-correction);
>
> and so far it seems to work better. The sources are still being
> Polled after the step from an offset in the future.
Ok, I always have the sign wrong :).
Thanks,
--
Miroslav Lichvar
---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.