[LAU] RT error?

Sampo Savolainen v2 at iki.fi
Wed Feb 27 04:27:46 EST 2008

Quoting Josh Lawrence <hardbop200 at gmail.com>:

> I get this a lot with various applications, I've been meaning to ask
> about it.  Does it mean that something is wrong with my RT kernel?
> This specific error came from Renoise, but again, I've seen it with
> other applications as well.
> cannot lock down memory for RT thread (Cannot allocate memory)

Realtime applications need instant access to their memory. For that to be
possible, the application must "lock" it's memory so that the operating
system does not swap it.

However, locking is "dangerous" in the sense that a program could lock all
available memory and thus take down the whole system. This is why Linux has
a system of setting the maximum amount of locked memory. This is controlled
via /etc/security/limits.conf memlock attribute.

for a quick reference on how to set it up.

The reason you are getting that message is probably due to a too low memlock


More information about the Linux-audio-user mailing list