Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Wow, it really works...but very slow webpage loading...help pls? #13

#1

I am shocked...using ubuntu server 16.04 LTS, mpd, and walked through the rompr setup and mysql set up and....it really freakin worked! (this has not been my result in lots of other programs I've tried..)

The only issue that I have is that it is really slow to load. I've tried these connections:
My PC (wired connection) using Firefox to the local net address (192.168.x.x) which is wirelessly connected to router (95% signal)
My PC using firefox to a real web address....web redirects handled by noip and the server is wirelessly connected to router (95% signal)

ipad using both Safari and Chrome to local ip address, Again, the sever is wirelessly connected to router (95% signal)
ipad using both Safari and Chrome to a real web addres, Again, the sever is wirelessly connected to router (95% signal)

iphone using safari to local ip address, and the server is wirelessly connected to router (95% signal)
iphone using safari to a real web addres, and the server is wirelessly connected to router (95% signal)

It takes over a 1.25 minutes to load on the PC (no matter which route I go)
It takes close to two minutes on phone or ipad, no matter which route I go
The server is not that fast 1.6GHz, and has 4GB of memory. I've run a number of websites on it but never this much lag.

Any suggestions on how to speed this up is greatly appreciated...

  • replies 3
  • views 4.6K
  • likes 0
#2

It shouldn't take that long. I run it on a Raspberry Pi and it takes a few seconds. Sounds like something in your setup isn't working as it should. My guess would be network or database.

Some suggestions:

  1. Monitor the system with 'top' while it's loading, see if anything is using up masses of CPU or RAM
  2. Try with SQLite instead of MySQL, this can actually be faster in some circumstances
  3. Try a wired connection from the server to the router (WiFi is frequently awful for servers, especially on Linux)
  4. Most importantly - Send me a debug log, let me know how many tracks in your collection, and send me the information from the 'Debug Information' plugin. I can't really do anything without that.
three-jeeps · Author
#3

Hi Mark:
Thank you for the quick response and the suggestions! After I sent the email I experimented a bit. I configured the server to use the hard wired ethernet port and disabled the wireless. Helped somewhat.

Using Firefox on a PC, the greeting page loads fairly quickly, about 1-2 seconds (through local host, and a little longer-another 2 seconds over the web as I would expect)...I click through it hitting 'OK' and then the default music page loads and this is where things bog down. FWIW, the top part of the screen with the widgets usually appear first and are reasonably quick to load (5 sec maybe)..It seems to get really bogged down with the album art. In this particular case the album art is 800x800 pixels and the file is about 18kb, IIRC.

Some related questions:
Is there a password capability with Rompr? If not, best way to do it?
In rompr preferences there is a section Album Art and a setting for Automatically Download Covers which is ON in my case.
The path window is blank. I do see album covers load on the webpage – where is it pulling the album art from? Should I specify a path? BTW, I ripped all my music using dbpoweramp ripper.

I’ll get the log files later today.
Thanks
John

#4

When you say 'the album art' which specific part of the window are you referring to? The album art next to the play controls, or the album art in the Music Collection portion?

Try disabling that Automatically Download Covers option, to see if it helps. but I'd still like to see those logs. The album art is being scraped from the internet by default. If you enter a path Rompr can scan the folders where your music is stored and get it from there.

There's no password capability, and I've no idea how to implement one. You should note that Rompr was never designed to be secure and never intended to be accessed from the internet. I've no idea how many security vulnerabilities might be in there, and no way or knowledge of how to test for or fix them. Just so you know!