I'm having a problem setting ulimits to unlimited. I am a member of the @audio group Here are the contents of my /etc/security/limits.conf
@audio - rtprio 95
@audio - memlock unlimited
I know audio group is working because I have realtime settings working.
Here is the output of the ulimits -l -r
$ ulimit -r -l
real-time priority (-r) 95
max locked memory (kbytes, -l) 65536
So the realtime is working but the max locked memory is not working. Not sure what got messed up. I don't want to reinstall to make this work Using ubuntu 19.04
I have jack installed too. Maybe this is messing things up. There are two files in the limits.d folder that I created.. but now deleted.
limits.conf
file? – Romeo Ninov May 13 '19 at 19:22session required pam_limits.so
in/etc/pam.d/common-session
as well as inrunuser
(added also almost everywhere else as a desperate attempt to solve); tried to add in/security/limits.conf
a redundant@audio - memlock unlimited
and my user is in the group audio (redundant because that's inlimits.d/audio.conf
altogether with@audio - rtprio 95
, which is honored, a configuration from jackd package). This is really annoying since 1. it used to work 2. fluidsynth, among others, won't do its job. – ShinTakezou Oct 19 '19 at 12:13systemd
according to this, but nothing solved the issue so far. – ShinTakezou Oct 19 '19 at 12:20