You are not logged in.

#1 2011-06-08 20:35:24

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

[SOLVED] limits.conf issues

Hey, every time I launch Ardour, I get a Cannot lock down memory area (Cannot allocate memory) from Qjackctl and Ardour telling me to run ulimit -l...

well the results from ulimit -l is 64 but /etc/security/limits.conf:

*               -       rtprio          0
*               -       nice            0
@audio          -       rtprio          99
@audio          -       nice           -10
@audio          -       memlock         memlock unlimited

any help?

Last edited by funkmuscle (2011-06-09 00:34:26)

Offline

#2 2011-06-08 21:25:15

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: [SOLVED] limits.conf issues

Are you in audio? Try using @users, or put your username there...


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#3 2011-06-08 21:33:31

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: [SOLVED] limits.conf issues

yep:
$ groups
audio optical storage scanner camera users

Offline

#4 2011-06-08 22:48:31

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: [SOLVED] limits.conf issues

funkmuscle wrote:

well the results from ulimit -l is 64

64 bytes? That small size would explain why ardour is not locking in enough memory. Try running ulimit -l <something_larger>. For example mine is 452192 and I don't think I've ever had to change it.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#5 2011-06-09 00:05:09

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: [SOLVED] limits.conf issues

ConnorBehan wrote:
funkmuscle wrote:

well the results from ulimit -l is 64

64 bytes? That small size would explain why ardour is not locking in enough memory. Try running ulimit -l <something_larger>. For example mine is 452192 and I don't think I've ever had to change it.

I've never had this issue in all my years of using Arch..... I'd fix the limits.conf the way it is and I'm set... this is really strange since I've installed a new harddrive.. My old drive died, bought a new one, reinstalled Arch 3 times because it's just not working right... fixed most issues except this one...

what do you mean by
Try running ulimit -l <something_larger>.

I did
$ ulimit -l 400000
bash: ulimit: max locked memory: cannot modify limit: Operation not permitted

ran as root:
# ulimit -l 400000
then:
$ ulimit -l
64

edit:
nevermind,,, fixed...
in /etc/security/limits.conf
I added
@audio          -       memlock         40000

I think I had it unlimited or something..
Thanx all

Last edited by funkmuscle (2011-06-09 00:33:31)

Offline

#6 2011-07-12 21:22:33

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] limits.conf issues

hey funk, I have the same problem here.

"unlimited" doesn't seam to work?

Offline

#7 2011-07-12 21:26:36

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: [SOLVED] limits.conf issues

Nah cap, it doesn't but I had it before... strange things happened since I changed the hard drive... same laptop....

Offline

#8 2011-07-12 21:38:52

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] limits.conf issues

funkmuscle wrote:

Nah cap, it doesn't but I had it before... strange things happened since I changed the hard drive... same laptop....

"@audio          -       memlock         40000"

didn t solve it here. strange.....do you use the Liqourix-Kernel?

Offline

#9 2011-07-12 21:50:10

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: [SOLVED] limits.conf issues

yeah.. and the RT

Offline

#10 2011-07-12 21:58:14

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] limits.conf issues

something is broken here

[root@myhost studio]# ulimit -l unlimited
[root@myhost studio]# ulimit -l
unlimited

and Ardour 3 is still complaining

Offline

#11 2011-07-12 22:30:28

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: [SOLVED] limits.conf issues

ardour3 alpha9 runs good for me

Offline

#12 2011-07-13 19:10:47

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [SOLVED] limits.conf issues

it was an incredible conincidence.......

while your problem was caused be a wrong line in limits.conf, mine was caused by the login-manager. I used elsa (beta-software).....now that I changed to slim, the problem is gone

so: solved²

Last edited by capoeira (2011-07-13 19:12:30)

Offline

Board footer

Powered by FluxBB