named and KSE

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sun, 24 Oct 2004 19:40:34 -0700
This SMP 5.3-STABLE system updated yesterday acts as a resolver for a
bunch of package clients.  I just got this message in the logs:

Oct 25 01:45:00 <daemon.warn> pointyhat named[281]: *** POKED TIMER ***

This comes from contrib/bind9/lib/isc/timer.c:

        /*
         * This is a temporary (probably) hack to fix a bug on tru64 5.1
         * and 5.1a.  Sometimes, pthread_cond_timedwait() doesn't actually
         * return when the time expires, so here, we check to see if
         * we're 15 seconds or more behind, and if we are, we signal
         * the dispatcher.  This isn't such a bad idea as a general purpose
         * watchdog, so perhaps we should just leave it in here.
         */
        if (signal_ok && timedwait) {
                isc_interval_t fifteen;
                isc_time_t then;

                isc_interval_set(&fifteen, 15, 0);
                isc_time_add(&manager->due, &fifteen, &then);

                if (isc_time_compare(&then, now) < 0) {
                        SIGNAL(&manager->wakeup);
                        signal_ok = ISC_FALSE;
                        isc_log_write(isc_lctx, ISC_LOGCATEGORY_GENERAL,
                                      ISC_LOGMODULE_TIMER, ISC_LOG_WARNING,
                                      "*** POKED TIMER ***");
                }
        }

and suggests it could be a threading bug.

Kris

Received on Mon Oct 25 2004 - 00:39:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC