Re: [SlimDevices: SqueezeCenter] LMS web interface takes a very long time to start up

2018-04-10 Thread rees

Using the web console in firefox I found the request that was taking so
long:

GET http://10.0.1.19:9000/music/0/cover_96x96_p [HTTP/1.1 200 OK
74847ms]

but slimserver doesn't think it took that long:
X-Time-To-Serve: 0.00249719619750977

This is just the default unknown cover art image.



rees's Profile: http://forums.slimdevices.com/member.php?userid=3363
View this thread: http://forums.slimdevices.com/showthread.php?t=108926

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS web interface takes a very long time to start up

2018-04-09 Thread rees

No, that's not it. Total disk transactions never exceed 1 tps, and
slimserver.pl holds steady at 4% of memory, most of it resident. The
server doesn't seem to do anything during the delay. Very little I/O,
network, or cpu. It's waiting for something.



rees's Profile: http://forums.slimdevices.com/member.php?userid=3363
View this thread: http://forums.slimdevices.com/showthread.php?t=108926

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS web interface takes a very long time to start up

2018-04-09 Thread Michael Herger

It doesn't seem to matter what web browser I use. I've tried firefox and
chrome. Once the web service is "warmed up", I can then close the
browser and reconnect without delay. Or I can start a different browser,
and connect without delay. But if I close all browsers and come back the
next day, I have to wait another 75 seconds.


This sounds as if you were running low on memory: Linux would move LMS 
out of RAM into the swapping space (on your disk) when it's not being 
used. Once you want to interact with it, it has to read it from disk, 
which is much slower than memory. Just an idea. Check your memory usage 
using "free". What hardware? How much RAM?



--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] LMS web interface takes a very long time to start up

2018-04-09 Thread rees

I'm running LMS 7.9.1 on Arch linux. When I connect to the web interface
after not having used it in a few hours, it takes about 75 seconds to
start up. This delay is pretty annoying. It didn't used to do this, but
this behavior has been going on for a year or more now.

It doesn't seem to matter what web browser I use. I've tried firefox and
chrome. Once the web service is "warmed up", I can then close the
browser and reconnect without delay. Or I can start a different browser,
and connect without delay. But if I close all browsers and come back the
next day, I have to wait another 75 seconds.

The only thing in the log files is this:
[18-04-09 12:10:36.1039] Slim::Web::HTTP::processHTTP (652) Invalid skin
requested: [GET /images/default/qtip/tip-sprite.gif]
[18-04-09 12:10:36.1204] Slim::Web::HTTP::processHTTP (652) Invalid skin
requested: [GET /images/default/shadow-lr.png]
[18-04-09 12:10:36.1356] Slim::Web::HTTP::processHTTP (652) Invalid skin
requested: [GET /images/default/shadow.png]
[18-04-09 12:10:36.1512] Slim::Web::HTTP::processHTTP (652) Invalid skin
requested: [GET /images/default/qtip/tip-anchor-sprite.gif]
[18-04-09 12:10:36.1663] Slim::Web::HTTP::processHTTP (652) Invalid skin
requested: [GET /images/default/shadow-c.png]

I realize this is a bit too vague for me to expect a solution, but I
hope someone can suggest a course of action to diagnose this. I know the
server has some verbose logging options and I can figure out how to turn
them on, but there are dozens and I don't know what would be most
useful. I know how to open the "web console" in firefox if that would
help. Suggestions?



rees's Profile: http://forums.slimdevices.com/member.php?userid=3363
View this thread: http://forums.slimdevices.com/showthread.php?t=108926

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter