Re: [Jack-Devel] Everything works with JACK, but I always got "Cannot lock down ..." message at startup
mpd stands for Music Player Daemon ->
http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki,
and I use it to play music from my homeserver (media PC), through
optical SPDIF on my sound card to the my home Hi-End audio components.
Optical signal from my homeserver goes directly to the Audiolab's
M-DAC.
That is why I choose 96kHz, and I don't really understand what you
meant with "MP3 player".
Here is output from "ulimit -a":
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 39
file size (blocks, -f) unlimited
pending signals (-i) 31571
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 95
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 31571
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
>Given that you
>probably run this via systemd, make sure your ulimit settings also apply
>to programs spawned from there.
Yes, I'm run it via systemd and new in using this system. I have to
find a way how to check whether my settings are applied in programs
spawned from systemd.
2012/12/5 Adrian Knoth <[hidden]>:
> On Wed, Dec 05, 2012 at 03:25:41PM +0200, Stefan Stefanov wrote:
>
>> I'm using JACK with mpd. Everything works, but I'm confused with
>
> mpd? The media player?
>
>> following message in my log:
>> "Cannot lock down 82274202 byte memory area (Cannot allocate memory)"
>
> Funny. This either means there is not enough memory you can lock or, for
> some obscure reasons, max locked memory is less than you think it is.
>
> Check ulimit -a for max memory size and virtual memory. Given that you
> probably run this via systemd, make sure your ulimit settings also apply
> to programs spawned from there.
>
>> 1) Here is how I start JACK:
>> /usr/bin/jackd -R -P 95 -d alsa -P hw:0,1 -r 96000 -p 64 -n 2 -z s
>
> You can omit -R, it's the default. -P 95 seems pretty high, but if
> you're fine with it, why not. Though I wonder why one would use 96kHz
> with 0.7ms latency for an MP3 player.
>
>
> Cheers
>
> --
> mail: [hidden] http://adi.thur.de PGP/GPG: key via keyserver
>
>
> Jack-Devel mailing list
> [hidden]
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
1354715795.19210_0.ltw:2, <CACbSjoUV__nVYHZBc44DUzr-+syCqzi1XJ4nMyfQyvLq65Wezw at mail dot gmail dot com>