bernid wrote:
> Thanks ralphy,
> Unfortunately it doesn't work in my Ubuntu.
> See my '/etc/security/limits.conf' after the change and reboot:
> https://paste.ubuntu.com/p/5GK2yHnyD7/
>
> I still have:
> >
Code:
--------------------
> > output_init_alsa:1003 unable to lock memory: Cannot allocate memory
> output_init_alsa:1011 glibc detected using mallopt
> output_init_alsa:1029 unable to set output sched fifo: Operation not
permitted
--------------------
> >
>
> See details:
> https://paste.ubuntu.com/p/zq9Rgwmqsg/
I decided to raise the priority of LMS, and hence localplayer. I added
this to /etc/default/logitechmediaserver:
Code:
--------------------
SLIMOPTIONS="--localfile"
SLIMNICE="--nicelevel -6"
--------------------
and in /etc/init/d/logoitechmediaserver, d_start now includes:
Code:
--------------------
start-stop-daemon --start --quiet \
--chuid $SLIMUSER \
--pidfile $PIDFILE \
$SLIMNICE \
--exec $DAEMON_SAFE \
--background \
--make-pidfile \
-- \
$DAEMON \
--prefsdir $PREFSDIR \
--logdir $LOGDIR \
--cachedir $CACHEDIR \
--charset=$CHARSET \
$SLIMOPTIONS
--------------------
With a similar change to d_start_direct.
I also include this in the localplayer start command:
Code:
--------------------
-p 25
--------------------
I did all this some time ago, so am not sure which action had the most
effect (or even which are really necessary), but LMS and localplayer run
well on a relatively slow cpu doing a fair bit of transcoding.
I don't get the warnings you report on xubuntu 18.04 ( as a dedicated
LMS server).
LMS 7.9.2 on PC, Xubuntu 18.04, FLACs 16->24 bit, 44.1->192kbps. 2
Touchs & EDO.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz
CR603 UPnP renderers.
Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 18.04 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix