[lkml]   [2008]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: asterisk hangs with RT priority
    On Wed, Dec 24, 2008 at 10:36:17PM +1100, Herbert Xu wrote:
    > On Sun, May 18, 2008 at 06:10:03PM +0200, Patrick McHardy wrote:
    > > I'm seeing hanging asterisk processes on startup when using
    > > RT priority with current -git. Unfortunately I'm not sure about
    > > the last working version, but it was one of the final 2.6.25 rcs.
    > > The hang stops when executing "schedtool -N $(pidof asterisk)".
    > I'm now hitting exactly the same problem with 2.6.28-rc9 (I had
    > it with 2.6.27 too but thought it might go away on its own :)
    > I've made a small program to attempt to reproduce this based on
    > the asterisk code. Unfortunately it doesn't work on its own.
    > However, if you run it under strace then it does hang in the
    > same away as asterisk (which seems to happen after the setuid
    > call, as strace shows it before hanging and the printk after
    > it in asterisk gets executed).
    > Note that the hang goes away if either setscheduler or setuid
    > is removed.

    Hmm. Do you have CONFIG_FAIR_USER_SCHED set on?


     \ /
      Last update: 2008-12-24 14:45    [W:0.022 / U:9.336 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site