problem acquiring realtime scheduling as a user

Tim Blechmann tim at klingt.org
Sat Apr 26 11:34:47 UTC 2008


hi all,

first of all, not sure, whether this is the right place to ask ... 

i am experiencing problems acquiring SCHED_FIFO scheduling as a user with 
kernel 2.6.25
my /etc/security/limits.conf
contains:
# REALTIME support for audio group users
@audio          -       rtprio          95
@audio          -       nice            -19
@audio          hard       memlock         unlimited
@audio          soft       memlock         unlimited

my user is member of the group 'audio'.
for older kernels (e.g. 2.6.24), acquiring realtime scheduling works 
fine, however with 2.6.25 the pthread_setschedparam system call fails 
with EPERM. 

any idea what i might be doing wrong?

thanks, tim

-- 
tim at klingt.org
http://tim.klingt.org

Happiness is a byproduct of function, purpose, and conflict; those who
seek happiness for itself seek victory without war.
  William S. Burroughs




More information about the Pam-list mailing list