[SOLVED] Increase locked memory available to users
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Ardour, and when I launch it I get the following:
Code:
WARNING: Your system has a limit for maximum amount of locked memory!
This might cause Ardour to run out of memory before your system runs
out of memory. You can view the memory limit with 'ulimit -l', and it
is normally controlled by /etc/security/limits.conf
Turns out that my max amount of locked memory is indeed pretty pathetic:
Code:
gene@lemon:~$ ulimit -l
64
So how can I increase that, short of installing PAM (which I REALLY don't want to do)?
I performed that modification the the /sbin/initscript file, but that page provides no instructions for creating the /etc/profile script... it just says to make one. What should the script contain?
I'd like to resurrect this thread. I still haven't figured out how to increase the locked memory available to individual users. I understand that an /etc/profile script needs to be created, but I don't know what to put into it.
I've been doing some research into this, and it seems that I might be able to get what I want with setrlimit... can somebody give me an example of how that command might be used? The manpage read like gobbledegook to me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.