I am using Ardour and received a warning from the program telling that I have a limit for maximum locked memory. I know the command is “ulimit -l” that shows 64, but I can’t unlock it. I searched about it but without success.
First of all thank you for the fast reply.
What should I write in the conf file? I am a noob.
I tried to change in bash using “ulimit -l 2900” but it does not accept my sudo, when I ran with root it changed but the user stayed locked at 64.
On 2015-09-17 03:56, Adnilson wrote:
>
> First of all thank you for the fast reply.
> What should I write in the conf file? I am a noob.
> I tried to change in bash using “ulimit -l 2900” but it does not accept
> my sudo, when I ran with root it changed but the user stayed locked at
> 64.
You have to change the file, then try log out and in. If it does not
apply, then reboot.
The file is self documented.
You would need something like:
USERNAME soft memlock number
I don’t know if it is soft or hard.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
NAME
ulimit - get and set user limits
SYNOPSIS
#include <ulimit.h>
long ulimit(int cmd, long newlimit);
DESCRIPTION
Warning: This routine is obsolete. Use getrlimit(2), setrlimit(2), and sysconf(3) instead. For the shell command ulimit(), see bash(1).
The ulimit() call will get or set some limit for the calling process. The cmd argument can have one of the following values.
...
Perhaps a check of the utilities mentioned will help. You can see them with: