Jump to content

Person requests taking 9+ seconds to respond


radeon
Go to solution Solved by radeon,

Recommended Posts

radeon

For about the last 2 weeks I have been noticing a delay when opening the episode details screen on Emby WMC and finally got some time to work out what's causing the delay.

 

Looking through the logs I noticed that upon opening the details screen, the first persons detail on the cast is requested but the server is taking 9 seconds to respond.

 

The Emby WMC log is as follows (notice the time difference between the person request and the next log entry):

2015-07-06 22:04:15.2063,Info,,Sending Http Get to http://127.0.0.1:8096/mediabrowser/Persons/Eoin+Macken?format=Json,1,Application
2015-07-06 22:04:24.4259,Debug,,Fetching image: http://127.0.0.1:8096/mediabrowser/Images/MediaInfo/Subdued%2fmedia_mkv,1,Application

Emby Server just shows exactly the same:

2015-07-06 22:27:16.7600 Debug - HttpServer: HTTP GET http://127.0.0.1:8096/mediabrowser/Persons/Eoin+Macken?format=Json
	Ip: 127.0.0.1:49729. Headers: Authorization=MediaBrowser UserId="removed", Client="MB-Classic", Version="3.0.283.0", DeviceId="removed", Device="HTPC/John",X-MediaBrowser-Token=removed,Host=127.0.0.1:8096
2015-07-06 22:27:26.0325 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 9272.5304 ms.

Then running the same request through fidldler (so i can set the auth token on the request) just to test, shows the same issue:

Request Count:   1
Bytes Sent:      163		(headers:163; body:0)
Bytes Received:  1,335		(headers:448; body:887)

ACTUAL PERFORMANCE
--------------
ClientConnected:	22:41:27.845
ClientBeginRequest:	22:41:27.846
GotRequestHeaders:	22:41:27.846
ClientDoneRequest:	22:41:27.846
Determine Gateway:	0ms
DNS Lookup: 		0ms
TCP/IP Connect:	1ms
HTTPS Handshake:	0ms
ServerConnected:	22:41:27.869
FiddlerBeginRequest:	22:41:27.869
ServerGotRequest:	22:41:27.869
ServerBeginResponse:	22:41:37.093
GotResponseHeaders:	22:41:37.093
ServerDoneResponse:	22:41:37.094
ClientBeginResponse:	22:41:37.095
ClientDoneResponse:	22:41:37.095

	Overall Elapsed:	0:00:09.249

RESPONSE BYTES (by Content-Type)
--------------
application/json: 887
       ~headers~: 448

I'm running the latest Emby Server Beta. Nothing in my rig has changed, just Emby Server.

 

Any suggestions?

Link to comment
Share on other sites

radeon

Let me know if the latest beta is any better. thanks.

 

@@Luke is that 3.0.5666.1

 

If so, afraid not, still in excess of 9s. I'll run dev if you want to get me doing some tests?

Link to comment
Share on other sites

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...