mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-26 07:00:13 -05:00
context: add support for rlimit.<resource> = <value>
Add support for rlimit.<resource> = <value> in the context.properties to adjust the rlimits of the process. A value of -1 sets the max limit. This can be used to increase the number of file descriptors in a pipewire process when select() is not used, for example. Other resource limits might be interesting as well maybe. Fixes #4047
This commit is contained in:
parent
9f2d873760
commit
9b507d3210
4 changed files with 100 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ context.properties = {
|
|||
#mem.allow-mlock = true
|
||||
#mem.mlock-all = false
|
||||
#log.level = 2
|
||||
#rlimit.nofile = -1
|
||||
|
||||
#default.clock.quantum-limit = 8192
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ context.properties = {
|
|||
#clock.power-of-two-quantum = true
|
||||
#log.level = 2
|
||||
#cpu.zero.denormals = false
|
||||
#rlimit.nofile = -1
|
||||
|
||||
#loop.rt-prio = -1 # -1 = use module-rt prio, 0 disable rt
|
||||
#loop.class = data.rt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue