Bugzilla – Bug 6043
SqueezeCenter takes a longtime to start-up & provides no feedback to user
Last modified: 2009-09-08 09:17:53 UTC
SqueezeCenter can sometimes take about a full minute to start up. During this time the user has no feedback that it's actually starting. To see this: * make sure SqueezeCenter is OFF * double-click the desktop icon * ~60 seconds later the browser will open with the web UI We need to provide adequate feedback to the user that the server is actually loading.
Seems to be the AsyncDNS Init. In the startup logs, I'll see this: [12:28:44.8458] main::init (336) SqueezeCenter MySQL init... [12:28:46.5278] main::init (339) Async DNS init... [12:29:06.6852] main::init (342) Firmware init... That added 20 seconds to the startup time we had before the extra effort was added to the dns setup.
Dan proposes we display an interim web page (possibly from a local file) and switch over after a while to http://localhost:9000
bear in mind, if you have player set up around the room it's a long wait for any display there as well.
Can you reproduce with --debug network.asyncdns?
I've made the following changes in change 15436 that will help improve startup time for at least those with multiple good DNS servers. When you have multiple DNS servers, startup is only blocked while checking that at least one server is working. If so, the remaining servers are checked in the background and won't delay startup. I've reduced the udp_timeout to 2 from 5, so if all of your local DNS servers fail, you will have to wait at most ( 4 * num_servers ) seconds during startup for them to check and fail, and then the DNS system falls back to OpenDNS. Previously this delay was ( 10 * num_servers ) seconds. The real solution is to simply make sure all your local DNS servers are working. :)
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.