Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After installing and starting Ardour I receive the following warning message:

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

How to configure properly Ardour to avoid this message?

share|improve this question

Launch a terminal (CTRL-ALT-T) and open the file in gedit with admin priveldges:

sudo gedit /etc/security/limits.conf

Be sure that the file contains the following line:

@audio memlock unlimited

If it doesn't exist, add it. If it does exist, be sure the line doesn't begin with a # and is below any other lines in the file beginning with @audio. This will allow any user in the audio group to avoid memlock limits. Save, close the editor, then add your user to the group by running the command

sudo adduser $USER audio

Close the terminal, log out and back in again, and reopen Ardour. The message should be gone.

share|improve this answer

As it is a warning you can safely ignore it. However to change it, open the file /etc/security/limits.conf with an editor. You'll find a line there which reads:

@audio - memlock SOME_NUMBER

You can comment out this line (put a # in front of it) or change SOME_NUMBER to the word unlimited. Now Ardour should not spit out a warning.

share|improve this answer
Nice! I will give it a try this week since I have a recording session. Thanks! – Rubens Mariuzzo Feb 5 '13 at 13:40
Unlike many warnings, it is NOT TRUE you can ignore this warning. When recording in real time with Ardour, if you run out of memory, it will affect the recording. I would not say you can " safely ignore it" . For this reason I am downvoting this answer. – bodhi.zazen Apr 8 '15 at 23:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.