Hello,

since the discussion at
http://forums.slimdevices.com/showthread.php?105978-(Re)Startscript-of-Webinterface
started to to point into another direction, I decided to open another
discussion.

I've installed a LMS 7.9.0 on a small linux server (eisfair-1,
https://www.eisfair.org/; https://www.pack-eis.de/index.php?p=slims),
but have some issues with processor load *only* when starting the LMS
using the script in /etc/init.d. Processor load is at 100% and stays
that way.

*BUT* when I deactivate or activate *any* plugin using the webinterface
(I mean what you get when accessing http://servername:9000) and restart
using the webinterface, processor load drops immediately to "normal"
under 10% (most of the time below 3%).

My hardware is an Atom 270 with 2 GB RAM; other users with stronger
processors report that LMS seem to "only" occupy 7% to 10% without
restarting via webinterface but some kind of high overall load.


eisfair-1 isn't using any debian, ubuntu or similar packages but is - as
far as I understand - completely made from scratch.


slimserver.pl is started by the script /etc/init.d/slims like this:

- - - - - - - - - - - - - - -
cd ${ssdir}/
su - slims -s /bin/sh -c "export LANG=${def_charset}; \
${ssdir}/slimserver.pl --daemon --logdir=${logdir}
--prefsdir=${prefsdir} \
${prefsoption} --pidfile=${pidfile} --logfile=${logfile}
${SLIMS_OPTIONS} \
--noimage --novideo" >> ${startlogfile} 2>> ${startlogfile}
- - - - - - - - - - - - - - -


ps ax | grep slims shows

- - - - - - - - - - - - - - -
5807 ?        SNs    3:24 /usr/bin/perl
/usr/local/slimserver/slimserver.pl /usr/local/slimserver/slimserver.pl
/usr/local/slimserver/slimserver.pl --logdir=/var/slims/log
--prefsdir=/var/slims/prefs --pidfile=/var/run/slimserver.pid
--logfile=/var/slims/log/slimserver.log --diag --noimage --novideo
- - - - - - - - - - - - - - -


/var/slims/log/slimserver.log contains the following when (re)starting,
*regardless* if started by the eisfair-startup-skript (100% processor
load) or the "restart" option from the webinterface
(http://servername:9000). Nothing concerning slimserver in
/var/log/messages.

- - - - - - - - - - - - - - -
[16-08-10 07:59:27.5010] main::init (395) Starting Logitech Media Server
(v7.9.0, TRUNK, UNKNOWN) perl 5.020002
- - - - - - - - - - - - - - -


The maintainer of the package told me, that LMS is using lots of old
perl modules while eisfair is using newer ones but doesn't have included
all special modules needed by LMS, so "just updating LMS by unzipping
the archive" isn't an option.


Any ideas on errors in the startup script?


Greetings and thanks from Germany

René


------------------------------------------------------------------------
hanker's Profile: http://forums.slimdevices.com/member.php?userid=52397
View this thread: http://forums.slimdevices.com/showthread.php?t=105987

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to