Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a daemon that calls pthread_setschedparam() to set the thread priority. On a system using systemd (OpenSuse 12.1), this fails, because sched_setscheduler() returns EPERM.

From what I understand systemd doesn't use the permissions set in /etc/security/limits.conf any more where I used to be able to allow this.

How can I allow a deamon to change RT priorities when using systemd ?

share|improve this question
up vote 0 down vote accepted

Read systemd.exec(5), then experiment with LimitRTPRIO and LimitRTTIME or CPUSchedulingPolicy, CPUSchedulingPriority, CPUSchedulingResetOnFork in daemon service file.

share|improve this answer
This is more of a comment than an answer. – larsks Jan 3 '15 at 15:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.