Jump to content

EMBY/WMC initial load fast subsequent loads slow


Go to solution Solved by blue65,

Recommended Posts

Posted

Hi,

 

I have just installed Windows 7 for a friend
Downloaded and installed EMBY server 3.1.2.0
Downloaded and installed Media Browser Classic 3.0.307
If I reboot server, get into WMC and then EMBY straight away, it loads EMBY, auto logs on with my user and I can browse my Movie Collection almost immediately.
However
If I wait for 5 minutes (roughly) before getting into EMBY after rebooting server
OR
I get into EMBY immediately after rebooting (which happens quickly), exit EMBY and then wait 5 minutes (roughly) before getting back into EMBY
Load time is slow (maybe 10-15 secs) to get into EMBY and then another 10-15 secs to be able to browse my Movies (or TV) Collection
Need to enter and exit EMBY regularly as Live TV is watched via WMC configuration.
The only quick load is the one immediately after a reboot.
Not sure whats going on.
 
Windows, Server, Classic all running on same machine
Running Chocolate theme 3.0.8.9  (same issue if I select Classic theme)
In WMC, under the Advanced Tab, the server is pointing to the correct ip address
 
I have attached the Server log..I rebooted at around 16:29...Exited EMBY and then attempted to get into EMBY again at 16:34pm (when it loaded slowly)
 
 
Any thoughts ???
Thanks in advance
 

server-63619230565.txt

Posted

Hi, welcome. If you browse around with the web app, how does that compare?

Posted

If I login to EMBY via Chrome, I have no issues

Posted

Hi.  I would need to see the Emby Classic log for a session that was slow.

 

Do you have the weather turned on?

Posted

Last Night I restored the system to a fresh version of Windows 7 and re-installed Emby Server and Classic.

I am still experiencing the same problem but not as bad a as previously. Not sure if it will get progressively worse as the days go by.

Attached are the Classic Logs as requested

I Shutdown the server at 0800

Started Windows server at 0803

Entered EMBY Classic at 0804   (fast to open)

Exited EMBY Classic at 0805

Re-Entered EMBY Classic at 0810   (slower to open)

 

And I do not have the Weather Turned On

 

 

Thanks

 

 

 

MBClassic-612017c3b8697be6954c30bfd3e39b91248de2.log

MBClassic-612017eff0e19450784071abff8aa526d5d423.log

MBClassic-612017f876bb0608bd4461808b8be7db13b03a.log

MBClassic-6120170f79989c1aaf49bdae39cb369724fe0a.log

Posted

If you entered EMC twice, why are there four logs?  Which log goes with which action?

nairnmonster
Posted

I have the same issue with three MCE's in the house. I thought this was a server issue, but on testing the server doesn't appear to be the issue. I could provide my logs for comparison?

Posted

I have the same issue with three MCE's in the house. I thought this was a server issue, but on testing the server doesn't appear to be the issue. I could provide my logs for comparison?

 

Yes please.

nairnmonster
Posted

There is a few, which one is the right one and I will attach it?

 

server-63618912012

server-63618998400

server-63619065831

server-63619084800

server-63619171200

server-63619257600

Posted

The one from the timeframe in which you experienced the problem.

Posted

I attached the 4 log files because between 0800 and 0812 when I was doing the actions, the system produced the 4 files. The 4 files just covered the whole timeline.

Posted

While we are looking at this, have you guys checked out Emby Theater? it's our new app designed to fully replace Windows Media Center. You can learn more about that here:

 

https://emby.media/emby-theater.html

 

Thanks.

nairnmonster
Posted

Well I guess all of them, it happens often and I haven't kept track of the times. I just just picked one and attached.

 

 

server-63618998400.txt

Posted

I've converted. I love it.

 

This config is for a friends PC and they arent convinced of the Live TV interface and as silly as it might sound, the personal photo picture slide show that WMC has that Emby Theater doesnt, is a show stopper for them at the moment.

Posted

I'll have to go look at exactly what is going on here but have you actually timed the response?  Are we talking about just 5 seconds or more than that?

 

I notice one operation at startup that, I believe, is disk bound that is taking longer in one session vs. the other one:

 
2017-01-06 08:04:46.6395,Info,,Total Kernel Init took 0.50 seconds.,1,Application
2017-01-06 08:11:48.8239,Info,,Total Kernel Init took 3.95 seconds.,1,Application

Posted

Well I guess all of them, it happens often and I haven't kept track of the times. I just just picked one and attached.

 

Hi.  If we're talking about performance in EMC, then please post an EMC log.  Instructions are here.  Thanks.

Posted

I rebooted the server and did some indicative timings with a stop watch and have attached the Media Classic log and Server Log for the time period.

 

Server rebooted at 15:08

Windows Loaded at 15:09

Clicked on the EMBY icon (took about 9 seconds to logon and show the Movie/TV icons)

Clicked on the Movie Library Icon (~600 movies) and took about 2 seconds to load

Exited EMBY about 15:10

Waited 5 minutes

Clicked on EMBY icon at 15:15 (took about 30 seconds to load)

Clicked on Movie Library Icon (took about 25 seconds to load)

 

Rebooted server (about 15:23)

Windows loaded about 15:24

Entered EMBY (took 9 sec to load)

Clicked on Movie Library (took about 2 seconds)

Exited

Waited until about 15:32 to re-enter EMBY (took about 49 secs to load)

About 28 secs to load Movie Library

Exited and re-entered EMBY about 15:33 (37 secs to load)

 

Have attached the Media Classic Log and the Server log for the time period.

 

Also using an SSD drive

 

 

ServerLog.log

MediaClassic.log

Posted

Are the server and the client running on the same machine?

 

You only posted one EMC log and it looks like it took about 7 seconds for it to fully load.

Posted

Server and Client running on same machine.

 

The EMC log was in a few files. I just joined them up into the 1 file for ease of viewing.

Posted

Okay, so, when EMC is slower to open, is the server application doing something perhaps?  Or, maybe some other process is running on the machine at that time?

Posted

The server is a dedicated Media Center Server and Client.

No other jobs running in task manager

CPU usage minimal.

 

So when you said earlier that it took 7 seconds to load, was that the timing after the reboot? I think I said about 9 seconds but thats me using a stop watch so that sounds about right.

 

Did you see the difference in the  timings for the subsequent loading of Emby when I said it was taking about 30 seconds to load or did the log say they all around the 7 second length as well?

Posted

Most of the startups look like they took less than 5 seconds but there is one that looks like it took 6 seconds to initialize SQLite alone.  That may be the wildcard here...

  • Solution
Posted

Found the problem....

Sometimes its the simple things..

When I looked at the Task Manager previously I didn't look long enough at all the processes running.

Whenever I setup my servers, I change the Windows Update to update only when I want to.

When watching the task manager for a while with no jobs running, I noticed the CPU usage higher than what I thought it should be.

After drilling down I noticed the system was checking for Windows Updates.

I then monitored for a few hours and the system was STILL checking for Windows Updates (with my Internet connection hard wired to the server) and it chewing up enough CPU to be an issue with loading EMBY.

 

I have now completely disabled Windows Updates, EMBY loads quickly.

 

Microsoft and Windows 7 Updates... :angry:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...