Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library View Timeout - Libraries not loading #5582

Closed
jedthe3rd opened this issue May 22, 2024 · 2 comments
Closed

Library View Timeout - Libraries not loading #5582

jedthe3rd opened this issue May 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jedthe3rd
Copy link

Describe The Bug
Ever since I updated to 10.9.x I have been having issues with viewing my libraries or very long load times.

Steps To Reproduce

  1. Create a Home Video and Photo Library with mixed media (mp4, png, jpg, gif, tif, clip, .7z, psd) that has at least 4,900 files
    (I also intermittently get the issue with an all video library with 11,266 video files) (size of the files doesn't seem to be a factor)
  2. Try to view the library after it has been fully scanned and get a timeout

Expected Behavior
When I click on a library to view it it should open the listed items in a relatively small amount of time and never not load.

Logs

Web console logs
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 getTryConnectPromise 192.168.88.109:8096
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Reconnect succeeded to 192.168.88.109:8096
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Reconnect succeeded
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Requesting 192.168.88.109:8096/Users/61a5e50717a440fd8fb0602a5a88d246/Items?StartIndex=0&Fields=PrimaryImageAspectRatio%2CSortName%2CPath%2CChildCount%2CMediaSourceCount%2CPrimaryImageAspectRatio&ImageTypeLimit=1&ParentId=11b59b91c52f93e72cf8186b4849a6fa&SortBy=IsFolder%2CSortName&SortOrder=Ascending
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Requesting 192.168.88.109:8096/System/Endpoint
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Requesting 192.168.88.109:8096/Playback/BitrateTest?Size=500000
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 BitrateTest 524288 bytes loaded (500000 requested) in 0.0285 seconds -> 147168561 bps
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Requesting 192.168.88.109:8096/Playback/BitrateTest?Size=1000000
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 BitrateTest 1048576 bytes loaded (1000000 requested) in 0.004800000011920929 seconds -> 1747626662 bps
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Requesting 192.168.88.109:8096/Playback/BitrateTest?Size=3000000
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 BitrateTest 4194304 bytes loaded (3000000 requested) in 0.05159999996423721 seconds -> 650279690 bps
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Sending web socket message: KeepAlive
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Received KeepAlive from server.
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Request timed out to 192.168.88.109:8096/Users/61a5e50717a440fd8fb0602a5a88d246/Items?StartIndex=0&Fields=PrimaryImageAspectRatio%2CSortName%2CPath%2CChildCount%2CMediaSourceCount%2CPrimaryImageAspectRatio&ImageTypeLimit=1&ParentId=11b59b91c52f93e72cf8186b4849a6fa&SortBy=IsFolder%2CSortName&SortOrder=Ascending
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Reporting request failure
node_modules.jellyfin-apiclient.bundle.js?3b140e0ac043bcbb303b:2 Reconnect failed
web/#/list.html?pare…bb6cfd3e5a46f201a:1 Uncaught (in promise) undefined

I also get hundreds of thousands of DBG messages like this:
"Library" has no parental rating set. after opening a library. It seems to be correlated to how many items are in a library. Seems like the parental check is running multiple times for each item in a library which doesn't seem right.

Screenshots

System (please complete the following information):

  • Platform: Windows 11 - 23H2
  • Browser: Any Client
  • Jellyfin Version: 10.9.x (tried 0-2)

Additional Context
The data is hosted on a NAS SMB server that gets ~650MB/s sequential reads, 5.4K IOPS at < 200 microseconds of latency and it was running fine against it before the update.
I am not seeing any bottlenecks in the NAS performance metrics.

@jedthe3rd jedthe3rd added the bug Something isn't working label May 22, 2024
@jedthe3rd
Copy link
Author

Still occurs on 10.9.3.

@jedthe3rd
Copy link
Author

Moved to jellyfin/jellyfin#11951 after further investigation on my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant