Jump to content

'Artist' page performance slow. Bug?


Recommended Posts

Posted

Hi,

 

I noticed that the web interface is (in regards to performance) quite usable with two exceptions in the music libraries: the 'artists' and 'album artists' tabs.

In my setup it usually takes 15-20 seconds to load one page. Sometimes even longer. In some cases the page loads but doesn't show any content!

 

I made some observations (with chrome dev tools):

- it doesn't matter how many items a library holds (tested one with 3000 and one with 180 artists).

- it doesn't really matter if I disable or enable my browser caches. Thumbnails, etc cache fine.

 

The request which is responsible for the delay:

https://xxx/emby/Artists?SortBy=SortName&SortOrder=Ascending&Recursive=true&Fields=PrimaryImageAspectRatio%2CSortName%2CDateCreated%2CSyncInfo%2CItemCounts&StartIndex=100&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&Limit=100&ParentId=3b5849bdd57bd3d709270dcf4d433917&userId=eb5af7c73e64459cb8422f03c15dddb0

Although the resulting JSON is only about 10-15kB in size, it takes > 15 seconds to generate it. I assume there is a problem with the database.

[12:17] root@[member="xxx"] /home/emby/logs/ % grep "Artists?SortBy" server-63596064817.txt | awk '{print $11}' | sort -nr  | head -n 20
425455ms
395122ms
276714ms
75103ms
35066ms
25615ms
24341ms
22990ms
21893ms
19558ms
17714ms
17386ms
15341ms
The server log is 27mb large, so I only attached you the first pages. Will provide through a private channel on request though.

 

server-63596188799_short.txt

Posted (edited)

I also have this issue. It's in Firefox and in Chrome, don't have other browsers.

 

In Emby Theater these screens pop up instantly though.

Edited by djonnie
  • 2 weeks later...
Posted

Did you find a solution for this?

Posted

Unfortunately no. Also no reaction. Should this be moved to the Linux Server subforum maybe?

 

A temporary workaround for me and my users is to use the Folders-tab which loads quickly. But there's no list view, only thumbnails. You have to scroll for ages on mobile devices with small screens.

  • 1 month later...
Posted

@djonnie: Try the latest Beta. (I'm on Version 3.1.28.0, Linux). Artist Tabs load quite fast now!

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