[Bug 254511] daemon(8): Allow to set daemonized process realtime or idletime scheduling priority
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 23 18:28:30 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254511
Bug ID: 254511
Summary: daemon(8): Allow to set daemonized process realtime or
idletime scheduling priority
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: yuri at freebsd.org
Created attachment 223530
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223530&action=edit
daemon-add-priority.patch
The attached patch adds arguments -e {priority}, -i {priority} for realtime and
idle priorities respectively.
These arguments can be used when the process should run with an altered
priority level.
rtprio(1) generally sets priority process level, but in case of daemon(8)
invocation rtprio(1) can't be used as a separate command.
Running 'rtprio {priority} daemon ... commmand ...' would also change daemon(8)
process' priority which isn't what is desired.
Running 'daemon ... rtprio {priority} command ...' can't generally work because
daemon(8) can change process' user and rtprio(1) would fail.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list