From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,ee6ce2a0d9f56fe9,start X-Google-Attributes: gid111c93,public From: asun@zoology.washington.edu (asun) Subject: scheduler problems in linux/axp 2.1.47 (and earlier)? Date: 1997/07/30 Message-ID: #1/1 X-Deja-AN: 260725472 Organization: Celestial Manifestations Newsgroups: comp.os.linux.alpha What works: xntp3-5.90.3 or .2 by itself. compiling glibc by itself. What doesn't: compiling glibc w/ xntpd running in the background. at some point, my udb just freezes and becomes unresponsive to anything. at first, i thought it might have something to do w/ all of the exceptions generated by mlockall(), but i've narrowed the trigger down to just xntpd's use of SCHED_FIFO via: { struct sched_param sched; sched.sched_priority = sched_get_priority_min(SCHED_FIFO); if ( sched_setscheduler(0, SCHED_FIFO, &sched) == -1 ) { msyslog(LOG_ERR, "sched_setscheduler(): %m"); } } if i comment that out, i can compile and run xntpd by itself w/out any problems. btw, sched_setscheduler works fine on my 486 running 2.1.47. so, has anyone else seen this strange interaction problem? any clues on what might be the cause? i suspect my glibc compile is triggering it because it runs around and creates a bunch of processes in rapid succession. -a asun@zoology.washington.edu