[ntp:questions] Ntpd in uninterruptible sleep?

A C agcarver+ntp at acarver.net
Thu Nov 10 04:21:04 UTC 2011


On 11/9/2011 14:26, Dave Hart wrote:
> On Wed, Nov 9, 2011 at 20:44, A C<agcarver+ntp at acarver.net>  wrote:
>> It didn't take long to crash but I'm not able to catch the buffers in the
>> act of filling up.  However, the increased poll rate does shorten the life
>> of ntpd's run time.  Note this instance crashed after only 332 seconds.  I
>> was running ntpdc at a slower polling rate (every 5 seconds) and it took
>> about 17,000 seconds to crash in that case.
>
> I suspect to really understand what's going wrong, you'll need to run
> ntpd interactively using -dd (or equivalently -D2) so that it traces
> events to stdout.  It's also possible using gdb without debug tracing
> would allow enough poking around after the problem occurs to identify
> it.

As expected, it crashed again.  The interesting thing is that the 
constant output from -D2 stopped in its tracks.  Nothing in the output 
shows anything out of the ordinary.  It just halts completely.


More information about the questions mailing list