Jellyfin Forum
Jellyfin running extremely slow on new DS423+ - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Jellyfin running extremely slow on new DS423+ (/t-jellyfin-running-extremely-slow-on-new-ds423)



Jellyfin running extremely slow on new DS423+ - andeyeseeyou - 2023-11-29

Hello!

I'm just diving into the world of Synology/NAS and picked up a DS423+ and 2x 12TB WD Red Plus HDDs for my initial setup.

I've been experiencing some issues with internet speeds on my gigabit connection (which I'm sorting out between my router and my ISP), but still getting about 1-300 Mbps up and down - although this should have no impact on my LAN which is where most of my usage is happening.

I installed Jellyfin last night and I'm finding that it runs incredibly slow. It will take several minutes to load up the Jellyfin homepage on a computer on my LAN, and if I have someone connected externally, it may never even load on my LAN as a second user trying to connect. When I try and pull up my Resource Monitor to see what may be going on, all the panels are blank when this is happening.

I currently have an assortment of containers running (radarr, sonarr, gluetun, qbittorrent, etc.) but everything I've read says out of the box the DS423+ should be able to handle what I'm throwing at it and more.

Are there any suggestions on how to best troubleshoot figuring out what may be going on here?


RE: Jellyfin running extremely slow on new DS423+ - TheDreadPirate - 2023-11-29

If your library is still scanning, that may be bogging things down. Is the Jellyfin DB hosted on a SSD? Having the database on a HDD can also bog things down.

Pretty sure DSM has ways to monitor system utilization. Check that out.


RE: Jellyfin running extremely slow on new DS423+ - Efficient_Good_5784 - 2023-11-29

Since you just installed Jellyfin, your system might be busy scanning for metadata to set everything up.
After the initial scan of your whole library, each library-wide scan will take less time as those will have less work to do.
Initial scans take a lot of time depending on size of your library and the speed of the drives.

I own a DS920+ that has the same CPU as your DS423+, but it has 4GB of ram instead of your 2GB. I'm running Jellyfin on it using the Docker/Container Manager app, and the only time that it slows down significantly is when the HDDs have a lot of I/O needing to be processed. Things like a scrub task will slow everything down.
Keep in mind that DSM is stored in the HDDs, so the OS is also putting some strain on your disks.

You said that you opened the resource monitor, but you couldn't see anything. This seems normal if your whole system is bogged down. You need to wait for your system to have resources available before things start working smoothly again.

I would check the following:
  1. System scrubs
  2. Check if other containers are hogging resources (turn all others off to see if this fixes your issue, then turn on one at a time)
  3. Check if Jellyfin is scanning for metadata.
  4. Check how much ram your system is using/has free (if you run out of ram, the system will store memory in the HDDs causing even more slowdowns)

Also, before I switched to a different system, I started out running Jellyfin on the DS920+ with the stock 4GB of ram. I had no other containers (Jellyfin was the only service running), and it was enough memory and Jellyfin ran fine.

Keep in mind that at stock, The DS423+ only has one stick of ram, you can increase your encoding speed by adding another stick of ram to enable dual-channel memory. For example, I eventually installed an extra 4GB stick of ram on the DS920+ to increase the total ram to 8GB. I didn't need the extra memory, but thanks to the dual-channel memory, the CPU managed to transcode videos with about an extra 20fps-40fps.


RE: Jellyfin running extremely slow on new DS423+ - jfredsilva - 2024-03-07

Do you have any update on this?

I have a DS243+ with a total of 10Gb of Ram.

Any change on the library will take forever to load (changing a movie identification would take a few minutes).
Clicking on the three dot button will take a few seconds to show the options view.

EDIT:

I took a look at my logs and I have a lot of slow HTTP response.

Code:
[2024-03-07 12:16:32.714 +00:00] [WRN] [64] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://XXX.XXX.X.XX:XXXX/Users/826b341808734161bfd1aa07ec800e3d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CPath&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=d565273fd114d77bdf349a2896867069" to "172.17.0.1" in 0:00:07.6178554 with Status Code 200
[2024-03-07 12:18:02.079 +00:00] [WRN] [84] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://XXX.XXX.X.XX:XXXX/Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CDateCreated%2CBasicSyncInfo%2CPath%2CMediaSourceCount&UserId=826b341808734161bfd1aa07ec800e3d&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false&DisableFirstEpisode=false&NextUpDateCutoff=2023-03-08T12%3A16%3A17.023Z&EnableRewatching=false" to "172.17.0.1" in 0:01:44.9832696 with Status Code 200
[2024-03-07 12:18:29.771 +00:00] [WRN] [53] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://XXX.XXX.X.XX:XXXX/Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CDateCreated%2CBasicSyncInfo%2CPath%2CMediaSourceCount&UserId=826b341808734161bfd1aa07ec800e3d&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false&DisableFirstEpisode=false&NextUpDateCutoff=2023-03-08T12%3A16%3A20.789Z&EnableRewatching=false" to "172.17.0.1" in 0:02:04.6763681 with Status Code 200
[2024-03-07 12:18:43.173 +00:00] [WRN] [125] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://172.17.0.2:XXXX/Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CDateCreated%2CBasicSyncInfo%2CPath%2CMediaSourceCount&UserId=826b341808734161bfd1aa07ec800e3d&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false&DisableFirstEpisode=false&NextUpDateCutoff=2023-03-08T12%3A16%3A17.023Z&EnableRewatching=false" to "172.17.0.1" in 0:01:56.041815 with Status Code 200
[2024-03-07 12:18:44.867 +00:00] [WRN] [25] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://XXX.XXX.X.XX:XXXX/Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CDateCreated%2CBasicSyncInfo%2CPath%2CMediaSourceCount&UserId=826b341808734161bfd1aa07ec800e3d&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false&DisableFirstEpisode=false&NextUpDateCutoff=2023-03-08T12%3A16%3A20.789Z&EnableRewatching=false" to "172.17.0.1" in 0:01:53.9768673 with Status Code 200



RE: Jellyfin running extremely slow on new DS423+ - TheDreadPirate - 2024-03-07

The slow http response messages are pointless and we recommend turning them off. Dashboard > Logs, there is a check box to turn them off.

Which metadata provider is your primary?


RE: Jellyfin running extremely slow on new DS423+ - jfredsilva - 2024-03-11

(2024-03-07, 07:20 PM)TheDreadPirate Wrote: The slow http response messages are pointless and we recommend turning them off.  Dashboard > Logs, there is a check box to turn them off.

Which metadata provider is your primary?

I didn't change them or the order

TheMovieDB
The Open Movie Database


RE: Jellyfin running extremely slow on new DS423+ - TheDreadPirate - 2024-03-11

Is Jellyfin and its database running on a SSD or HDD?


RE: Jellyfin running extremely slow on new DS423+ - jfredsilva - 2024-03-12

(2024-03-11, 04:54 PM)TheDreadPirate Wrote: Is Jellyfin and its database running on a SSD or HDD?

On a HDD


RE: Jellyfin running extremely slow on new DS423+ - TheDreadPirate - 2024-03-12

That is the cause. We strongly recommend running Jellyfin (the app/database, not your media) from a SSD.


RE: Jellyfin running extremely slow on new DS423+ - jfredsilva - 2024-03-13

Thanks for the help