Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-24-2014, 01:38 AM   #1
LQ Newbie
Registered: Jul 2014
Posts: 12

Rep: Reputation: Disabled
Cannot set ulimit -l, says ulimit: max locked memory: cannot modify limit

...: Operation not permitted.

I'm trying to get Jack up and running on my Slackware64 14.1 as shown here on alien.slackbook. But when i run qjackctl, as that page suggests, it shows in the messages that: Cannot lock down 82274202 byte memory area (Cannot allocate memory). I tried to set ulimit -l but can't as non-root user. I tried to set the limit in /sbin/initscript but that didn't work either. Some other Linux distributions use /etc/security/limits.conf but that doesn't seem to work with slackware (or am i wrong?). On a forum a similar (ulimit) problem with slackware describes the use of set_rlimit, a command i do not seem to have (maybe older slackware version?).

The current ulimit -l setting is 64kB, which seems very low. As root i have no problem setting this to 90000. But how do i do this as non-root? Running ulimit -H -l shows 64kB is also the hard limit (even though root can go above it). I am curious to know how do i change the hard limit system-wide? Would that fix my problem?

Thanks for any pointers.

Same thing for real-time scheduling btw...

Last edited by Xiano; 07-24-2014 at 02:34 AM.
Old 07-24-2014, 02:58 AM   #2
LQ Newbie
Registered: Jul 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Found it.

Had to move "initscript" from /sbin to /etc for it to work.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ulimit: open files: cannot modify limit: Operation not permitted Winanjaya Linux - Server 3 02-20-2012 12:43 AM
-bash: ulimit: open files: cannot modify limit: Operation not permitted pjglinuxq Linux - Server 3 06-11-2010 06:19 AM
-bash: ulimit: open files: cannot modify limit: Operation not permitted investmentbnker75 Linux - Newbie 12 10-09-2009 06:52 AM
ulimit: max user processes: cannot modify limit: Operation not permitted farnaw4u Linux - Newbie 3 04-21-2008 06:32 AM
Ulimit -l max locked memory question ablanchard Red Hat 3 01-20-2006 03:57 PM

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration