lewispm Posted September 12, 2020 Share Posted September 12, 2020 I have a debian 10 vm running on my unraid box and one app (within debian) complains that there's not enough lockable memory: Quote WARNING: You may not have a high enough lockable memory limit, see ulimit -l the output of ulimit -l is 64. Google tells me to change the "max locked memory" limit in /etc/security/limits.conf, but after doing this and rebooting it doesn't change. Is this a setting in the way I set up the VM on unraid, or is this just a debian setting? Quote Link to comment
Squid Posted September 13, 2020 Share Posted September 13, 2020 On 9/11/2020 at 10:24 PM, lewispm said: debian setting Quote Link to comment
xanvincent Posted September 14, 2020 Share Posted September 14, 2020 (edited) You need to add the following to your /etc/security/limits.conf (in your debian VM): * soft memlock <number> * hard memlock <number> <number> can also be "unlimited", which is the default unraid setting. Edited September 14, 2020 by xanvincent Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.