I've just installed Ardour2, and I've run into the same problem so many people have, which has to do with setting the locked memory limit to unlimited. Here is one of many questions asked about this.
However, when I try to follow the directions that others have given to solve this problem, I go to edit the limits.conf file, I see no @audio directives at all, and when I add my own, it doesn't affect the limit when I reopen a terminal and run ulimit -l.
So I found another post that said maybe the directive is in /etc/security/limits.d/audio.conf instead, but the only file I have there is audio.conf.disabled, and anyway it doesn't mention the memory limit, either.
I'm running Ubuntu 12.04 LTS. When I run ulimit -l the output is:
64
When I su and run ulimit -l unlimited I get the following:
bash: ulimit: max locked memory: cannot modify limit: Operation not permitted
Where should I be looking to change this value?