pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/41852?usp=email )

 (

2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: vty_cpu_sched.adoc: Document how to allow users to run with 
rtprio
......................................................................

vty_cpu_sched.adoc: Document how to allow users to run with rtprio

Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
---
M common/chapters/vty_cpu_sched.adoc
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  Jenkins Builder: Verified
  osmith: Looks good to me, approved




diff --git a/common/chapters/vty_cpu_sched.adoc 
b/common/chapters/vty_cpu_sched.adoc
index f3a7c09..308cad9 100644
--- a/common/chapters/vty_cpu_sched.adoc
+++ b/common/chapters/vty_cpu_sched.adoc
@@ -25,6 +25,13 @@
 ----
 <1> Configure process to use _SCHED_RR_ policy with real time priority 1

+NOTE: Running a process under real time priority requires CAP_SYS_NICE
+capabilities. In order to avoid running the process as _root_ user, you can
+either modify the binary permissions with `setcap "CAP_SYS_NICE+ep"
+/path/to/binary`, or allow the user running the program to set rtprio by adding
+a file _/etc/security/limits.d/youruser_allow-rtprio.conf_ with something like
+`youruser - rtprio 99`. See `man 7 sched` for more information on the topic.
+
 [[vty_cpu_sched_cpu_affinity_mask]]
 === CPU-Affinity Mask


--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/41852?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I2281bef252f5ed60fd830714798c587173e7fbb5
Gerrit-Change-Number: 41852
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to