Jump to content

Actor view loading very slow


lostars

Recommended Posts

lostars

When open actor detail view, page load slow, may take minutes.

I found the follow api load slow:

Quote

And server debug log:

2022-10-07 21:04:21.758 Debug Server: http/2 Response 200 to host2. Time: 103305ms. https://host1:8920/emby/Users/xxx/Items/220?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=xxx&X-Emby-Client-Version=4.7.8.0
2022-10-07 21:08:22.688 Debug Server: http/2 Response 200 to host2. Time: 46409ms. https://host1:8920/emby/Users/xxx/Items/17569?X-Emby-Client=Emby Web&X-Emby-Device-Name=Google Chrome Windows&X-Emby-Device-Id=xxx&X-Emby-Client-Version=4.7.8.0

I wonder what operation cost so much time?

Link to comment
Share on other sites

With something like this, the issue is generally not that query itself but the sequence of events that led up to it. I don't see anything obvious, so you could try removing these third party plugins:

2022-10-07 01:50:23.066 Info App: Loading Emby.MeiamSub.Shooter, Version=1.0.8.0, Culture=neutral, PublicKeyToken=null from /var/packages/EmbyServer/var/plugins/Emby.MeiamSub.Shooter.dll
2022-10-07 01:50:23.066 Info App: Loading Emby.MeiamSub.Thunder, Version=1.0.8.0, Culture=neutral, PublicKeyToken=null from /var/packages/EmbyServer/var/plugins/Emby.MeiamSub.Thunder.dll
2022-10-07 01:50:23.066 Info App: Loading JavScraper, Version=1.2022.528.1141, Culture=neutral, PublicKeyToken=null from /var/packages/EmbyServer/var/plugins/JavScraper.dll
2022-10-07 01:50:23.066 Info App: Loading InfuseSync, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null from /var/packages/EmbyServer/var/plugins/InfuseSync.dll

Then restart the server and see how that compares.

Link to comment
Share on other sites

lostars
6 minutes ago, Luke said:

With something like this, the issue is generally not that query itself but the sequence of events that led up to it. I don't see anything obvious, so you could try removing these third party plugins:

2022-10-07 01:50:23.066 Info App: Loading Emby.MeiamSub.Shooter, Version=1.0.8.0, Culture=neutral, PublicKeyToken=null from /var/packages/EmbyServer/var/plugins/Emby.MeiamSub.Shooter.dll
2022-10-07 01:50:23.066 Info App: Loading Emby.MeiamSub.Thunder, Version=1.0.8.0, Culture=neutral, PublicKeyToken=null from /var/packages/EmbyServer/var/plugins/Emby.MeiamSub.Thunder.dll
2022-10-07 01:50:23.066 Info App: Loading JavScraper, Version=1.2022.528.1141, Culture=neutral, PublicKeyToken=null from /var/packages/EmbyServer/var/plugins/JavScraper.dll
2022-10-07 01:50:23.066 Info App: Loading InfuseSync, Version=1.4.2.0, Culture=neutral, PublicKeyToken=null from /var/packages/EmbyServer/var/plugins/InfuseSync.dll

Then restart the server and see how that compares.

OK, I'll try it.

  • Thanks 1
Link to comment
Share on other sites

lostars

I found that emby will use all person provider to scrap actor information even I didn't choose it in my library settings.
I didn't choose JavScraper but emby do use it to scrap actor information.

2022-10-08 00:43:08.029 Debug SqliteItemRepository: Public GetItemLinks
2022-10-08 00:43:08.029 Debug App: Running PersonNfoProvider for Michael Caine
2022-10-08 00:43:08.030 Debug App: PersonNfoProvider returned no metadata for Michael Caine
2022-10-08 00:43:08.030 Debug App: Running MovieDbPersonProvider for Michael Caine
2022-10-08 00:43:08.031 Info HttpClient: GET https://api.themoviedb.org/3/person/3895?api_key=x_secret1_x&append_to_response=credits,images,external_ids&language=en
2022-10-08 00:43:09.562 Debug App: Running TvdbPersonProvider for Michael Caine
2022-10-08 00:43:09.563 Info HttpClient: GET https://api4.thetvdb.com/v4/people/254661/extended
2022-10-08 00:43:11.392 Debug App: Running JavPersonProvider for Michael Caine
2022-10-08 00:43:11.392 Info Emby.Plugins.JavScraper.JavPersonProvider: GetMetadata info:{"Name":"Michael Caine","MetadataLanguage":"en","MetadataCountryCode":"US","ProviderIds":{"Tvdb":"254661","Tmdb":"3895","Imdb":"nm0000323"},"IsAutomated":true,"EnableAdultMetadata":false}
2022-10-08 00:43:11.392 Info Emby.Plugins.JavScraper.JavPersonProvider: GetSearchResults name: Michael Caine
2022-10-08 00:43:11.392 Info Emby.Plugins.JavScraper.JavPersonProvider: GetHtmlDocumentAsync /search?query=Michael Caine&lg=zh
2022-10-08 00:43:11.393 Error Emby.Plugins.JavScraper.JavPersonProvider: GetHtmlDocumentAsync A task was canceled.
2022-10-08 00:43:11.394 Info Emby.Plugins.JavScraper.JavPersonProvider: GetMetadata name:Jessica Chastain not found 0.
2022-10-08 00:43:11.394 Debug App: JavPersonProvider returned no metadata for Jessica Chastain
2022-10-08 00:43:11.394 Debug App: Running JavImageProvider for Jessica Chastain
2022-10-08 00:43:11.394 Info Emby.Plugins.JavScraper.JavImageProvider: GetImages name:Jessica Chastain.
2022-10-08 00:43:11.495 Info Emby.Plugins.JavScraper.JavImageProvider: GetImages name:Jessica Chastain Gfriends: .
2022-10-08 00:43:11.497 Debug App: Saving nfo metadata for Jessica Chastain to /var/packages/EmbyServer/var/metadata/people/j/Jessica Chastain-tmdb-83002/person.nfo.

 

Edited by lostars
Link to comment
Share on other sites

lostars
10 hours ago, Luke said:

Do you still have jav installed?

Yes, but I didn't enable javscraper in that library settings.

Link to comment
Share on other sites

OK then yes you're right. They must have added a person provider but currently there is no way in Emby Server to control it. That's something we can look into though.

  • Like 1
Link to comment
Share on other sites

lostars
28 minutes ago, Luke said:

OK then yes you're right. They must have added a person provider but currently there is no way in Emby Server to control it. That's something we can look into though.

Same as I guess, thx, I've figure out all my problems

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