File pipewire-media-session.service.d-user-limits.conf of Package pipewire-media-session

[Service]
NoNewPrivileges=false
LimitMEMLOCK=4G
LimitAS=4G
MemoryMax=4G
LimitNOFILE=32768
LimitMSGQUEUE=1048576
LimitSIGPENDING=98304
LimitRTPRIO=40:44
RestrictRealtime=false
# these will only apply to the main thread
Nice=-13
#CPUSchedulingPolicy=fifo
#CPUSchedulingPriority=40
#CPUSchedulingResetOnFork=false
# 1/3 for high realtime or 2/0 for highest "best effort"
# systemd still just craps itself instead of setting realtime priority before dropping root privileges
# it also doesn't allow setting 'CapabilityBoundingSet/AmbientCapabilities=~CAP_SYS_NICE' to unlock that, see `man systemd.exec`
IOSchedulingClass=2
IOSchedulingPriority=1
OOMScoreAdjust=-998
TimerSlackNSec=332
openSUSE Build Service is sponsored by