Jump to content

chrt: failed to set pid policy: Operation not permitted


Rado Buransky

Recommended Posts

$ stress -c 1 -t 60 &
[1] 2578
$ sudo chrt -r -p 95 2578
chrt: failed to set pid 2578's policy: Operation not permitted

Why this doesn't work? My actual problem is that Jack Audio can't use real-time scheduling, but this example should demonstrate that there is a general problem probably. (getting  ERROR: Cannot use real-time scheduling (RR/10) (1: Operation not permitted), ERROR: AcquireSelfRealTime error)

 

$ uname -a
Linux odroidc2 6.6.16-current-meson64 #1 SMP PREEMPT Mon Feb  5 20:14:39 UTC 2024 aarch64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Armbian 24.2.1 bookworm
Release:        12
Codename:       bookworm

 

Edited by Rado Buransky
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines