mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
increase rt.limit from 200ms to 2seconds
200ms seems a little small, some plugins initialize themselves from the RT thread and get killed. 2 seconds seem to be a better default. The important part is that there is a limit so that runaway processes are killed and don't lock up the system. Fixes #1344
This commit is contained in:
parent
77318477bc
commit
4b9b97841d
12 changed files with 26 additions and 26 deletions
|
|
@ -37,8 +37,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -70,8 +70,8 @@ context.modules = [
|
||||||
args = {
|
args = {
|
||||||
#nice.level = -11
|
#nice.level = -11
|
||||||
#rt.prio = 88
|
#rt.prio = 88
|
||||||
#rt.time.soft = 200000
|
#rt.time.soft = 2000000
|
||||||
#rt.time.hard = 200000
|
#rt.time.hard = 2000000
|
||||||
}
|
}
|
||||||
flags = [ ifexists nofail ]
|
flags = [ ifexists nofail ]
|
||||||
}
|
}
|
||||||
|
|
@ -81,8 +81,8 @@ context.modules = [
|
||||||
# args = {
|
# args = {
|
||||||
# nice.level = -11
|
# nice.level = -11
|
||||||
# rt.prio = 88
|
# rt.prio = 88
|
||||||
# rt.time.soft = 200000
|
# rt.time.soft = 2000000
|
||||||
# rt.time.hard = 200000
|
# rt.time.hard = 2000000
|
||||||
# }
|
# }
|
||||||
# flags = [ ifexists nofail ]
|
# flags = [ ifexists nofail ]
|
||||||
#}
|
#}
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,8 @@
|
||||||
|
|
||||||
#define DEFAULT_NICE_LEVEL -11
|
#define DEFAULT_NICE_LEVEL -11
|
||||||
#define DEFAULT_RT_PRIO 88
|
#define DEFAULT_RT_PRIO 88
|
||||||
#define DEFAULT_RT_TIME_SOFT 200000
|
#define DEFAULT_RT_TIME_SOFT 2000000
|
||||||
#define DEFAULT_RT_TIME_HARD 200000
|
#define DEFAULT_RT_TIME_HARD 2000000
|
||||||
|
|
||||||
#define MODULE_USAGE \
|
#define MODULE_USAGE \
|
||||||
"[nice.level=<priority: default " SPA_STRINGIFY(DEFAULT_NICE_LEVEL) ">] " \
|
"[nice.level=<priority: default " SPA_STRINGIFY(DEFAULT_NICE_LEVEL) ">] " \
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,8 @@
|
||||||
|
|
||||||
#define DEFAULT_NICE_LEVEL -11
|
#define DEFAULT_NICE_LEVEL -11
|
||||||
#define DEFAULT_RT_PRIO 88
|
#define DEFAULT_RT_PRIO 88
|
||||||
#define DEFAULT_RT_TIME_SOFT 200000
|
#define DEFAULT_RT_TIME_SOFT 2000000
|
||||||
#define DEFAULT_RT_TIME_HARD 200000
|
#define DEFAULT_RT_TIME_HARD 2000000
|
||||||
|
|
||||||
#define MODULE_USAGE "[nice.level=<priority: default "SPA_STRINGIFY(DEFAULT_NICE_LEVEL) ">] " \
|
#define MODULE_USAGE "[nice.level=<priority: default "SPA_STRINGIFY(DEFAULT_NICE_LEVEL) ">] " \
|
||||||
"[rt.prio=<priority: default "SPA_STRINGIFY(DEFAULT_RT_PRIO) ">] " \
|
"[rt.prio=<priority: default "SPA_STRINGIFY(DEFAULT_RT_PRIO) ">] " \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue